summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_compiler__specific.h
blob: 5ab44c84e57c9d98655f31dbd30998437deb3de9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- base/compiler_specific.h.orig	2025-03-05 08:14:56 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