]> granicus.if.org Git - clang/commitdiff
[CMake] Use the correct spelling for armv7 in Fuchsia's toolchain
authorPetr Hosek <phosek@chromium.org>
Fri, 16 Nov 2018 04:09:47 +0000 (04:09 +0000)
committerPetr Hosek <phosek@chromium.org>
Fri, 16 Nov 2018 04:09:47 +0000 (04:09 +0000)
We need to explicitly specify the architecture version.

Differential Revision: https://reviews.llvm.org/D54613

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347021 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/caches/Fuchsia-stage2.cmake

index 8b91f7e85d87aed80e5cffd24d24959e0ca79088..aa1fc5784c1123d9fa0cbb4ff92815fdd1adfddd 100644 (file)
@@ -33,7 +33,7 @@ if(APPLE)
   list(APPEND RUNTIME_TARGETS "default")
 endif()
 
-foreach(target i386-linux-gnu;x86_64-linux-gnu;arm-linux-gnueabi;aarch64-linux-gnu)
+foreach(target aarch64-linux-gnu;armv7-linux-gnueabihf;i386-linux-gnu;x86_64-linux-gnu)
   if(LINUX_${target}_SYSROOT)
     # Set the per-target builtins options.
     list(APPEND BUILTIN_TARGETS "${target}")