From 0b185b62d1c56e7b42a6262cf0ab9b032b169b78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Sat, 29 Apr 2023 22:30:27 +0300 Subject: [PATCH] build-compiler-rt: Make the CMAKE_C_COMPILER_TARGET vendor field consistent Currently, there's no practical difference if the spelling of this triple is inconsistent, but if we'd enable e.g. the per-target runtime directories, the exact spelling does make a difference. For consistency, pass CMAKE_C_COMPILER_TARGET with the exact right spelling everywhere. --- build-compiler-rt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-compiler-rt.sh b/build-compiler-rt.sh index 38e3cde..277f1f0 100755 --- a/build-compiler-rt.sh +++ b/build-compiler-rt.sh @@ -112,7 +112,7 @@ for arch in $ARCHS; do -DCMAKE_RANLIB="$PREFIX/bin/llvm-ranlib" \ -DCMAKE_C_COMPILER_WORKS=1 \ -DCMAKE_CXX_COMPILER_WORKS=1 \ - -DCMAKE_C_COMPILER_TARGET=$arch-windows-gnu \ + -DCMAKE_C_COMPILER_TARGET=$arch-w64-windows-gnu \ -DCOMPILER_RT_DEFAULT_TARGET_ONLY=TRUE \ -DCOMPILER_RT_USE_BUILTINS_LIBRARY=TRUE \ -DCOMPILER_RT_BUILD_BUILTINS=$BUILD_BUILTINS \