diff --git a/tools/setup-gcc.sh b/tools/setup-gcc.sh index b448f4d0..25cd41eb 100755 --- a/tools/setup-gcc.sh +++ b/tools/setup-gcc.sh @@ -44,6 +44,8 @@ cd toolchain/build/gcc unset CC 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"