forked from OSchip/llvm-project
[libcxxabi] [cmake] Fix a mismatched variable name
The variable name checked didn't match the one set on the line above.
This error was introduced in b3df14b6c9
.
This commit is contained in:
parent
fb148057c5
commit
bf1b81d076
|
@ -192,7 +192,7 @@ macro(add_c_compile_flags_if_supported)
|
|||
foreach(flag ${ARGN})
|
||||
mangle_name("${flag}" flagname)
|
||||
check_c_compiler_flag("${flag}" "C_SUPPORTS_${flagname}_FLAG")
|
||||
add_compile_flags_if(CXX_SUPPORTS_${flagname}_FLAG ${flag})
|
||||
add_compile_flags_if(C_SUPPORTS_${flagname}_FLAG ${flag})
|
||||
endforeach()
|
||||
endmacro()
|
||||
|
||||
|
|
Loading…
Reference in New Issue