wok-next rev 9708
gcc: add few more options and enable c++ in --first-pass and remove --tune since we got configure WARNNIG, not use by LFS and not usefull we already have the tripplet --build, --host, --target
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 08 20:39:17 2011 +0200 (2011-05-08) |
parents | 534b79da8611 |
children | e393bc63082b |
files | gcc/receipt |
line diff
1.1 --- a/gcc/receipt Sun May 08 20:24:49 2011 +0200 1.2 +++ b/gcc/receipt Sun May 08 20:39:17 2011 +0200 1.3 @@ -129,8 +129,9 @@ 1.4 echo "cook: configure GCC for: toolchain first pass" 1.5 $src/configure --libexecdir=/usr/lib \ 1.6 --disable-nls --enable-shared \ 1.7 - --enable-languages=c --disable-multilib \ 1.8 - --disable-libstdcxx-pch --enable-threads=posix && 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 *) 1.14 # Used by default to produce a full featured GCC compiler. 1.15 @@ -140,8 +141,7 @@ 1.16 --enable-shared --with-system-zlib \ 1.17 --enable-clocale=gnu --enable-objc-gc \ 1.18 --enable-__cxa_atexit --enable-lto \ 1.19 - --enable-threads=posix \ 1.20 - --with-tune=$ARCH $BUILD_HOST && 1.21 + --enable-threads=posix && 1.22 make && make install ;; 1.23 esac 1.24 }