build-llvm: Allow setting CMAKE_<LANG>_COMPILER_LAUNCHER via an env variable
This commit is contained in:
1 parent
340e2e7f0b
commit
88bad0dddd
1 file changed
+5
@@ -234,6 +234,11 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "$COMPILER_LAUNCHER" ]; then
|
||||
CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_C_COMPILER_LAUNCHER=$COMPILER_LAUNCHER"
|
||||
CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_CXX_COMPILER_LAUNCHER=$COMPILER_LAUNCHER"
|
||||
fi
|
||||
|
||||
if [ -n "$TARGET_WINDOWS" ]; then
|
||||
# Custom, llvm-mingw specific defaults. We normally set these in
|
||||
# the frontend wrappers, but this makes sure they are enabled by
|
||||
|
||||
Reference in new issue
Block a user