forked from OSchip/llvm-project
[CMake] Renaming test variable to be consistent
Based on post-commit review by compnerd. llvm-svn: 278728
This commit is contained in:
parent
b37bd6d7b7
commit
86412e56fb
|
@ -15,7 +15,7 @@ builtin_check_c_compiler_flag(-mfloat-abi=soft COMPILER_RT_HAS_FLOAT_ABI_SO
|
|||
builtin_check_c_compiler_flag(-mfloat-abi=hard COMPILER_RT_HAS_FLOAT_ABI_HARD_FLAG)
|
||||
builtin_check_c_compiler_flag(-static COMPILER_RT_HAS_STATIC_FLAG)
|
||||
|
||||
builtin_check_c_compiler_source(COMPILER_RT_SUPPORTS_ATOMIC_KEYWORD
|
||||
builtin_check_c_compiler_source(COMPILER_RT_HAS_ATOMIC_KEYWORD
|
||||
"
|
||||
int foo(int x, int y) {
|
||||
_Atomic int result = x * y;
|
||||
|
|
|
@ -164,7 +164,7 @@ set(GENERIC_SOURCES
|
|||
umodsi3.c
|
||||
umodti3.c)
|
||||
|
||||
if(COMPILER_RT_SUPPORTS_ATOMIC_KEYWORD)
|
||||
if(COMPILER_RT_HAS_ATOMIC_KEYWORD)
|
||||
set(GENERIC_SOURCES
|
||||
${GENERIC_SOURCES}
|
||||
atomic.c)
|
||||
|
|
Loading…
Reference in New Issue