summaryrefslogtreecommitdiff
path: root/devel/electron36/files/patch-base_compiler__specific.h
blob: 8c367a61e245b4b98dd9aa04fa13ca885b864fa2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- base/compiler_specific.h.orig	2025-03-24 20:50:14 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