Skip to content

Commit f2ebd64

Browse files
committed
build-llvm: Stop setting -DCROSS_TOOLCHAIN_FLAGS_NATIVE=
Since 93010544a813dfbfa64dd7cee68785f572f974d1 in llvm-project (Jun 22nd), this no longer is needed for being able to build native tools with a nested cmake in a cross build. (If building in the same tree as a previous native build, build-llvm tries to pick up the tblgen tools from there, so in such cases, this doesn't make any difference and the nested native cmake invocation never was executed.)
1 parent c6c5b13 commit f2ebd64

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

build-llvm.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ if [ -n "$HOST" ]; then
152152
CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_C_COMPILER=$HOST-gcc"
153153
CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_CXX_COMPILER=$HOST-g++"
154154
CMAKEFLAGS="$CMAKEFLAGS -DCMAKE_RC_COMPILER=$HOST-windres"
155-
CMAKEFLAGS="$CMAKEFLAGS -DCROSS_TOOLCHAIN_FLAGS_NATIVE="
156155

157156
native=""
158157
for dir in llvm-project/llvm/build/bin llvm-project/llvm/build-asserts/bin; do

0 commit comments

Comments
 (0)