build-llvm: Allow prepopulating CMAKEFLAGS

This allows passing options without proper command line flags.
This commit is contained in:
Martin Storsjö committed 2022-07-21 21:48:56 +03:00
1 parent 98f3380bec
commit bc1691262b
1 file changed
+2
+2
View File
@@ -144,6 +144,8 @@ else
BUILDCMD=make
fi
CMAKEFLAGS="$LLVM_CMAKEFLAGS"
if [ -n "$HOST" ]; then
CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_SYSTEM_NAME=Windows"
CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_CROSSCOMPILING=TRUE"