From 040fbde462ed84e9277483a678537b407736334b Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 24 Oct 2022 18:33:29 +0000 Subject: [PATCH] Unset LD and AR so gcc doesn't get confused --- tools/setup-gcc.sh | 2 ++ 1 file changed, 2 insertions(+) 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"