[compiler-rt] r315144 - Use list(APPEND) instead of append()

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 6 20:44:46 PDT 2017


Author: vedantk
Date: Fri Oct  6 20:44:46 2017
New Revision: 315144

URL: http://llvm.org/viewvc/llvm-project?rev=315144&view=rev
Log:
Use list(APPEND) instead of append()

append() seems to be available with the version of cmake I'm using, but
not on the bots:

http://green.lab.llvm.org/green//job/clang-stage1-configure-RA/39354

Modified:
    compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt

Modified: compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt?rev=315144&r1=315143&r2=315144&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt Fri Oct  6 20:44:46 2017
@@ -200,7 +200,7 @@ add_compiler_rt_object_libraries(RTSanit
   DEFS ${SANITIZER_COMMON_DEFINITIONS})
 
 set(SANITIZER_NO_WEAK_HOOKS_CFLAGS ${SANITIZER_CFLAGS})
-append("-DSANITIZER_SUPPORTS_WEAK_HOOKS=0" SANITIZER_NO_WEAK_HOOKS_CFLAGS)
+list(APPEND SANITIZER_NO_WEAK_HOOKS_CFLAGS "-DSANITIZER_SUPPORTS_WEAK_HOOKS=0")
 add_compiler_rt_object_libraries(RTSanitizerCommonNoHooks
   ${OS_OPTION}
   ARCHS ${SANITIZER_COMMON_SUPPORTED_ARCH}




More information about the llvm-commits mailing list