summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_compiler__specific.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-base_compiler__specific.h')
-rw-r--r--www/chromium/files/patch-base_compiler__specific.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-base_compiler__specific.h b/www/chromium/files/patch-base_compiler__specific.h
new file mode 100644
index 000000000000..d9fcba02e013
--- /dev/null
+++ b/www/chromium/files/patch-base_compiler__specific.h
@@ -0,0 +1,11 @@
+--- base/compiler_specific.h.orig 2022-02-07 13:39:41 UTC
++++ base/compiler_specific.h
+@@ -366,7 +366,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) {
+ #endif // defined(__clang_analyzer__)
+
+ // Use nomerge attribute to disable optimization of merging multiple same calls.
+-#if defined(__clang__) && __has_attribute(nomerge)
++#if defined(__clang__) && __has_attribute(nomerge) && !defined(OS_FREEBSD)
+ #define NOMERGE [[clang::nomerge]]
+ #else
+ #define NOMERGE