Unset LD and AR so gcc doesn't get confused

This commit is contained in:
apio 2022-10-24 18:33:29 +00:00
parent bd56c7f496
commit 040fbde462

View File

@ -44,6 +44,8 @@ cd toolchain/build/gcc
unset CC unset CC
unset CXX unset CXX
unset LD
unset AR
../gcc-$LUNA_GCC_VERSION_REQUIRED/configure --prefix="$BUILD_PREFIX" --target=$BUILD_TARGET --disable-nls --with-sysroot=$BUILD_SYSROOT --enable-languages=c,c++ --without-headers | filter-lines "gcc" "configure" ../gcc-$LUNA_GCC_VERSION_REQUIRED/configure --prefix="$BUILD_PREFIX" --target=$BUILD_TARGET --disable-nls --with-sysroot=$BUILD_SYSROOT --enable-languages=c,c++ --without-headers | filter-lines "gcc" "configure"