# HG changeset patch # User Christophe Lincoln # Date 1338279345 0 # Node ID 1be327c53ee74e9babc2456b95d9b72f27b56416 # Parent f2202b3af38af5bff1b03b085e0b474e56b95016 cross: fix gcc-final diff -r f2202b3af38a -r 1be327c53ee7 cross --- a/cross Tue May 29 08:03:41 2012 +0000 +++ b/cross Tue May 29 08:15:45 2012 +0000 @@ -102,7 +102,7 @@ --enable-threads \ --enable-targets=$BUILD_SYSTEM \ --with-sysroot=$sysroot \ - $BINUTILS_ARGS + $BINUTILS_ARGS && make || exit 1 make install echo "cross: binutils compiled on: $(date)" @@ -149,7 +149,7 @@ --without-headers \ --with-newlib \ --with-sysroot=$sysroot \ - $GCC_STATIC_ARGS + $GCC_STATIC_ARGS && make all-gcc all-target-libgcc || exit 1 make install-gcc install-target-libgcc echo "cross: gcc-static compiled on: $(date)" @@ -196,7 +196,7 @@ --with-headers=$sysroot/usr/include \ --with-binutils=$tools/bin \ --enable-kernel=2.6.32 \ - $GLIBC_ARGS + $GLIBC_ARGS && make || exit 1 make install_root=$sysroot install # Work around to let GCC find Glibc headers. @@ -250,7 +250,7 @@ --without-gd \ --without-cvs \ --cache-file=config.cache \ - $EGLIBC_ARGS + $EGLIBC_ARGS && make || exit 1 make install_root=$sysroot install } @@ -282,7 +282,8 @@ --disable-werror \ --with-pkgversion="SliTaz" \ --with-bugurl="https://bugs.slitaz.org/" \ - $GCC_FINAL_ARGS $sysroot + --with-sysroot=$sysroot \ + $GCC_FINAL_ARGS && make AS_FOR_TARGET="${TARGET}-as" \ LD_FOR_TARGET="${TARGET}-ld" || exit 1 make install