aboutsummaryrefslogtreecommitdiffstats
path: root/main/llvm/clang-0009-pass-host-triple-to-compiler-rt.patch
blob: 89174112b66c3c8ad5b9aeccabbb8e14e75573fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git i/runtime/CMakeLists.txt w/runtime/CMakeLists.txt
index 9f1cd78..5b3da2e 100644
--- i/runtime/CMakeLists.txt
+++ w/runtime/CMakeLists.txt
@@ -46,6 +46,7 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
                -DCOMPILER_RT_INSTALL_PATH=lib${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}
                -DCOMPILER_RT_INCLUDE_TESTS=${LLVM_INCLUDE_TESTS}
                -DCOMPILER_RT_ENABLE_WERROR=ON
+               -DLLVM_HOST_TRIPLE=${LLVM_HOST_TRIPLE}
     INSTALL_COMMAND ""
     STEP_TARGETS configure build
     )