diff options
Diffstat (limited to 'compiler-rt')
| -rw-r--r-- | compiler-rt/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | compiler-rt/lib/builtins/assembly.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt index 5931b60..a9e8899 100644 --- a/compiler-rt/CMakeLists.txt +++ b/compiler-rt/CMakeLists.txt @@ -315,7 +315,7 @@ include(config-ix) # Setup Compiler Flags #================================ -# fcf-protection is a gcc/clang option for CET support on Linux platforms. +# fcf-protection is a gcc/clang option for CET support on some ELF platforms. # We need to handle MSVC CET option on Windows platforms. if (NOT MSVC) if (COMPILER_RT_ENABLE_CET AND NOT COMPILER_RT_HAS_FCF_PROTECTION_FLAG) diff --git a/compiler-rt/lib/builtins/assembly.h b/compiler-rt/lib/builtins/assembly.h index ac119af..368cbaf 100644 --- a/compiler-rt/lib/builtins/assembly.h +++ b/compiler-rt/lib/builtins/assembly.h @@ -14,7 +14,7 @@ #ifndef COMPILERRT_ASSEMBLY_H #define COMPILERRT_ASSEMBLY_H -#if defined(__linux__) && defined(__CET__) +#ifdef __CET__ #if __has_include(<cet.h>) #include <cet.h> #endif |
