[compiler-rt] r248654 - build: separate flags
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 25 21:40:45 PDT 2015
Author: compnerd
Date: Fri Sep 25 23:40:45 2015
New Revision: 248654
URL: http://llvm.org/viewvc/llvm-project?rev=248654&view=rev
Log:
build: separate flags
This somehow worked with the build on Linux, but seems to fail on the buildbots.
Split the flags apart here as otherwise the two flags are treated as one, and
cause a compilation failure.
Modified:
compiler-rt/trunk/cmake/config-ix.cmake
Modified: compiler-rt/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/config-ix.cmake?rev=248654&r1=248653&r2=248654&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/config-ix.cmake (original)
+++ compiler-rt/trunk/cmake/config-ix.cmake Fri Sep 25 23:40:45 2015
@@ -207,8 +207,8 @@ elseif(NOT APPLE) # Supported archs for
test_target_arch(mips "" "-mips32r2" "--target=mips-linux-gnu")
test_target_arch(mips64 "" "-mips64r2" "-mabi=n64")
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "arm")
- test_target_arch(arm "" "-march=armv7-a -mfloat-abi=soft")
- test_target_arch(armhf "" "-march=armv7-a -mfloat-abi=hard")
+ test_target_arch(arm "" "-march=armv7-a" "-mfloat-abi=soft")
+ test_target_arch(armhf "" "-march=armv7-a" "-mfloat-abi=hard")
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "aarch32")
test_target_arch(aarch32 "" "-march=armv8-a")
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "aarch64")
More information about the llvm-commits
mailing list