[compiler-rt] r315157 - cmake: Fix one more usage of append()
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 7 13:20:42 PDT 2017
Author: vedantk
Date: Sat Oct 7 13:20:42 2017
New Revision: 315157
URL: http://llvm.org/viewvc/llvm-project?rev=315157&view=rev
Log:
cmake: Fix one more usage of append()
append() isn't available with some cmake versions, so I need to use a
different construct. I missed this case in r315144.
http://lab.llvm.org:8080/green/job/clang-stage1-configure-RA/39355
Modified:
compiler-rt/trunk/test/ubsan/CMakeLists.txt
Modified: compiler-rt/trunk/test/ubsan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/CMakeLists.txt?rev=315157&r1=315156&r2=315157&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/ubsan/CMakeLists.txt Sat Oct 7 13:20:42 2017
@@ -44,7 +44,7 @@ if(APPLE)
foreach(arch ${UBSAN_TEST_ARCH})
set(UBSAN_TEST_TARGET_ARCH ${arch})
get_test_cc_for_arch(${arch} UBSAN_TEST_TARGET_CC UBSAN_TEST_TARGET_CFLAGS)
- append("-lc++abi" UBSAN_TEST_TARGET_CFLAGS)
+ set(UBSAN_TEST_TARGET_CFLAGS "${UBSAN_TEST_TARGET_CFLAGS} -lc++abi")
add_ubsan_testsuite("StandaloneStatic" ubsan ${arch})
endforeach()
endif()
More information about the llvm-commits
mailing list