wok-6.x rev 10012
gcc: use the tripplet
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 19 03:54:02 2011 +0200 (2011-05-19) |
parents | ba5c193df791 |
children | 3ab75c9a703d |
files | gcc/receipt |
line diff
1.1 --- a/gcc/receipt Thu May 19 02:30:31 2011 +0200 1.2 +++ b/gcc/receipt Thu May 19 03:54:02 2011 +0200 1.3 @@ -127,23 +127,39 @@ 1.4 --first-pass) 1.5 # Used by slitaz-toolchain when rebuilding the full toolchain. 1.6 echo "cook: configure GCC for: toolchain first pass" 1.7 - $src/configure --libexecdir=/usr/lib \ 1.8 - --disable-nls --enable-shared \ 1.9 - --enable-languages=c,c++ --disable-multilib \ 1.10 - --disable-libstdcxx-pch --enable-__cxa_atexit \ 1.11 - --enable-clocale=gnu --enable-threads=posix && 1.12 - make && make install ;; 1.13 + $src/configure \ 1.14 + --libexecdir=/usr/lib \ 1.15 + --disable-nls \ 1.16 + --enable-shared \ 1.17 + --enable-languages=c,c++ \ 1.18 + --disable-multilib \ 1.19 + --disable-libstdcxx-pch \ 1.20 + --enable-__cxa_atexit \ 1.21 + --enable-clocale=gnu \ 1.22 + --enable-threads=posix \ 1.23 + --build=$BUILD_HOST \ 1.24 + --host=$BUILD_HOST \ 1.25 + --target=$BUILD_HOST && 1.26 + make && make install ;; 1.27 *) 1.28 # Used by default to produce a full featured GCC compiler. 1.29 echo "cook: configure GCC for: final/full build" 1.30 - $src/configure --libexecdir=/usr/lib --enable-nls \ 1.31 + $src/configure \ 1.32 + --libexecdir=/usr/lib \ 1.33 + --enable-nls \ 1.34 --enable-languages=c,c++,objc,fortran \ 1.35 - --enable-shared --with-system-zlib \ 1.36 - --enable-clocale=gnu --enable-objc-gc \ 1.37 - --enable-__cxa_atexit --enable-lto \ 1.38 - --enable-threads=posix --with-tune=$ARCH \ 1.39 - $ARCH-pc-linux-gnu && 1.40 - make && make install ;; 1.41 + --enable-shared \ 1.42 + --with-system-zlib \ 1.43 + --enable-clocale=gnu \ 1.44 + --enable-objc-gc \ 1.45 + --enable-__cxa_atexit \ 1.46 + --enable-lto \ 1.47 + --enable-threads=posix \ 1.48 + --with-tune=$ARCH \ 1.49 + --build=$BUILD_HOST \ 1.50 + --host=$BUILD_HOST \ 1.51 + --target=$BUILD_HOST && 1.52 + make && make install ;; 1.53 esac 1.54 } 1.55