diff options
author | Filipe Cabecinhas <me@filcab.net> | 2016-08-22 18:30:37 +0000 |
---|---|---|
committer | Filipe Cabecinhas <me@filcab.net> | 2016-08-22 18:30:37 +0000 |
commit | e0c295a416d1906af4137cddec1a34a91bae0a40 (patch) | |
tree | b00917838bcd7845f92dbd283541d21d0befb623 /cmake/Modules/CompilerRTUtils.cmake | |
parent | 3142c151ea468ad2c8fb84f6b6f51f02b73a6fe5 (diff) |
[cmake] Fix append_rtti_flag macro and bad var name
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@279450 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/Modules/CompilerRTUtils.cmake')
-rw-r--r-- | cmake/Modules/CompilerRTUtils.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/CompilerRTUtils.cmake b/cmake/Modules/CompilerRTUtils.cmake index af5975f02..b2f27c000 100644 --- a/cmake/Modules/CompilerRTUtils.cmake +++ b/cmake/Modules/CompilerRTUtils.cmake @@ -49,7 +49,7 @@ macro(append_string_if condition value) endmacro() macro(append_rtti_flag polarity list) - if(polarity) + if(${polarity}) append_list_if(COMPILER_RT_HAS_FRTTI_FLAG -frtti ${list}) append_list_if(COMPILER_RT_HAS_GR_FLAG /GR ${list}) else() |