From 84bdd9c4e836b3aeeabdaedd1341e78f05164bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 16 Apr 2019 10:26:55 +0300 Subject: [PATCH] Set the correct CMake option CMAKE_CROSSCOMPILING in build-llvm.sh The previous option doesn't seem to have had any effect, and cmake correctly has warned about an unused option. Also set the value of the option to TRUE, for slightly more consistency with where this option is set in build-llvm.sh. --- build-llvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-llvm.sh b/build-llvm.sh index fdde299..f45313f 100755 --- a/build-llvm.sh +++ b/build-llvm.sh @@ -109,7 +109,7 @@ if [ -n "$HOST" ]; then fi CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_SYSTEM_NAME=Windows" - CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_CROSSCOMPILE=1" + CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_CROSSCOMPILING=TRUE" CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_C_COMPILER=$HOST-gcc" CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_CXX_COMPILER=$HOST-g++" CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_RC_COMPILER=$HOST-windres"