# HG changeset patch # User Christophe Lincoln # Date 1305770042 -7200 # Node ID 25e9c77f611c3192e84a1ec72bfadcb10407099a # Parent ba5c193df791fd42d029f9e94f5a1704769fdaae gcc: use the tripplet diff -r ba5c193df791 -r 25e9c77f611c gcc/receipt --- a/gcc/receipt Thu May 19 02:30:31 2011 +0200 +++ b/gcc/receipt Thu May 19 03:54:02 2011 +0200 @@ -127,23 +127,39 @@ --first-pass) # Used by slitaz-toolchain when rebuilding the full toolchain. echo "cook: configure GCC for: toolchain first pass" - $src/configure --libexecdir=/usr/lib \ - --disable-nls --enable-shared \ - --enable-languages=c,c++ --disable-multilib \ - --disable-libstdcxx-pch --enable-__cxa_atexit \ - --enable-clocale=gnu --enable-threads=posix && - make && make install ;; + $src/configure \ + --libexecdir=/usr/lib \ + --disable-nls \ + --enable-shared \ + --enable-languages=c,c++ \ + --disable-multilib \ + --disable-libstdcxx-pch \ + --enable-__cxa_atexit \ + --enable-clocale=gnu \ + --enable-threads=posix \ + --build=$BUILD_HOST \ + --host=$BUILD_HOST \ + --target=$BUILD_HOST && + make && make install ;; *) # Used by default to produce a full featured GCC compiler. echo "cook: configure GCC for: final/full build" - $src/configure --libexecdir=/usr/lib --enable-nls \ + $src/configure \ + --libexecdir=/usr/lib \ + --enable-nls \ --enable-languages=c,c++,objc,fortran \ - --enable-shared --with-system-zlib \ - --enable-clocale=gnu --enable-objc-gc \ - --enable-__cxa_atexit --enable-lto \ - --enable-threads=posix --with-tune=$ARCH \ - $ARCH-pc-linux-gnu && - make && make install ;; + --enable-shared \ + --with-system-zlib \ + --enable-clocale=gnu \ + --enable-objc-gc \ + --enable-__cxa_atexit \ + --enable-lto \ + --enable-threads=posix \ + --with-tune=$ARCH \ + --build=$BUILD_HOST \ + --host=$BUILD_HOST \ + --target=$BUILD_HOST && + make && make install ;; esac }