[CMake] Renaming test variable to be consistent

Based on post-commit review by compnerd.

llvm-svn: 278728
This commit is contained in:
Chris Bieneman 2016-08-15 20:12:43 +00:00
parent b37bd6d7b7
commit 86412e56fb
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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)