Skip to content

Commit bc16912

Browse files
committed
build-llvm: Allow prepopulating CMAKEFLAGS
This allows passing options without proper command line flags.
1 parent 98f3380 commit bc16912

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build-llvm.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ else
144144
BUILDCMD=make
145145
fi
146146

147+
CMAKEFLAGS="$LLVM_CMAKEFLAGS"
148+
147149
if [ -n "$HOST" ]; then
148150
CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_SYSTEM_NAME=Windows"
149151
CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_CROSSCOMPILING=TRUE"

0 commit comments

Comments
 (0)