diff options
Diffstat (limited to 'libcxxabi/cmake')
-rw-r--r-- | libcxxabi/cmake/Modules/HandleLibcxxabiFlags.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/cmake/Modules/HandleLibcxxabiFlags.cmake b/libcxxabi/cmake/Modules/HandleLibcxxabiFlags.cmake index bf5c5fac8654..98b455c5cb30 100644 --- a/libcxxabi/cmake/Modules/HandleLibcxxabiFlags.cmake +++ b/libcxxabi/cmake/Modules/HandleLibcxxabiFlags.cmake @@ -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() |