summaryrefslogtreecommitdiff
path: root/cmake/config-ix.cmake
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-09-26 04:40:45 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-09-26 04:40:45 +0000
commita956d0386b3d0330c2bdde372f5921af68cf0a1e (patch)
tree290514173d53a76516c6770a08758f87cb69b235 /cmake/config-ix.cmake
parentbf8cd56d232a12fd4bc73a8f2905fd4f4270e95b (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@248654 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
-rw-r--r--cmake/config-ix.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index b7ac47b6f..3b29f87f6 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -207,8 +207,8 @@ elseif(NOT APPLE) # Supported archs for Apple platforms are generated later
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")