build-llvm: Allow prepopulating CMAKEFLAGS
This allows passing options without proper command line flags.
This commit is contained in:
1 parent
98f3380bec
commit
bc1691262b
1 file changed
+2
@@ -144,6 +144,8 @@ else
|
|||||||
BUILDCMD=make
|
BUILDCMD=make
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
CMAKEFLAGS="$LLVM_CMAKEFLAGS"
|
||||||
|
|
||||||
if [ -n "$HOST" ]; then
|
if [ -n "$HOST" ]; then
|
||||||
CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_SYSTEM_NAME=Windows"
|
CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_SYSTEM_NAME=Windows"
|
||||||
CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_CROSSCOMPILING=TRUE"
|
CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_CROSSCOMPILING=TRUE"
|
||||||
|
|||||||
Reference in new issue
Block a user