diff --git a/pkg/tc-gcc1/build b/pkg/tc-gcc1/build index 2b43e75..a0d42f8 100755 --- a/pkg/tc-gcc1/build +++ b/pkg/tc-gcc1/build @@ -53,6 +53,8 @@ build() { --disable-libatomic \ --disable-libquadmath --disable-threads \ --enable-languages=c --with-newlib \ + --with-as="$TCDIR/bin/$TARGET-as" \ + --with-ld="$TCDIR/bin/$TARGET-ld" \ --with-arch="$GCC_CPU" $extra $GCC_EXTRACFG make -j $NUMJOBS all-gcc all-target-libgcc diff --git a/pkg/tc-gcc2/build b/pkg/tc-gcc2/build index f1bf93d..7b6e23a 100755 --- a/pkg/tc-gcc2/build +++ b/pkg/tc-gcc2/build @@ -18,6 +18,8 @@ build() { --enable-c99 --enable-long-long \ --enable-libmudflap --disable-multilib \ --disable-libsanitizer --disable-libquadmath \ + --with-as="$TCDIR/bin/$TARGET-as" \ + --with-ld="$TCDIR/bin/$TARGET-ld" \ --with-arch="$GCC_CPU" $extra $GCC_EXTRACFG \ --with-native-system-header-dir="/include"