summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-base_compiler__specific.h
blob: e74d693324fbd70123d855c7763d812f800bb59b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- base/compiler_specific.h.orig	2025-03-18 16:46:04 UTC
+++ base/compiler_specific.h
@@ -729,6 +729,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) {
 #if __has_cpp_attribute(clang::preserve_most) &&             \
     (defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_X86_64)) && \
     !defined(COMPONENT_BUILD) &&                             \
+    !BUILDFLAG(IS_OPENBSD) &&                                \
     !(BUILDFLAG(IS_WIN) && defined(ARCH_CPU_ARM64))
 #define PRESERVE_MOST [[clang::preserve_most]]
 #else