We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6311e16 commit 6300120Copy full SHA for 6300120
compiler-rt/CMakeLists.txt
@@ -315,7 +315,7 @@ include(config-ix)
315
# Setup Compiler Flags
316
#================================
317
318
-# fcf-protection is a gcc/clang option for CET support on Linux platforms.
+# fcf-protection is a gcc/clang option for CET support on Linux/OpenBSD.
319
# We need to handle MSVC CET option on Windows platforms.
320
if (NOT MSVC)
321
if (COMPILER_RT_ENABLE_CET AND NOT COMPILER_RT_HAS_FCF_PROTECTION_FLAG)
compiler-rt/lib/builtins/assembly.h
@@ -14,7 +14,7 @@
14
#ifndef COMPILERRT_ASSEMBLY_H
15
#define COMPILERRT_ASSEMBLY_H
16
17
-#if defined(__linux__) && defined(__CET__)
+#ifdef __CET__
18
#if __has_include(<cet.h>)
19
#include <cet.h>
20
#endif
0 commit comments