# HG changeset patch
# User Christophe Lincoln <pankso@slitaz.org>
# Date 1304879957 -7200
# Node ID bbbef91b0d50d98c3ad53a78fb35dee9df6f09c6
# Parent  534b79da8611c9fdb0faafe6972d2228b4764286
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

diff -r 534b79da8611 -r bbbef91b0d50 gcc/receipt
--- a/gcc/receipt	Sun May 08 20:24:49 2011 +0200
+++ b/gcc/receipt	Sun May 08 20:39:17 2011 +0200
@@ -129,8 +129,9 @@
 			echo "cook: configure GCC for: toolchain first pass"
 			$src/configure --libexecdir=/usr/lib \
 				--disable-nls --enable-shared \
-				--enable-languages=c --disable-multilib \
-				--disable-libstdcxx-pch --enable-threads=posix &&
+				--enable-languages=c,c++ --disable-multilib \
+				--disable-libstdcxx-pch --enable-__cxa_atexit \
+				--enable-clocale=gnu --enable-threads=posix &&
 				make && make install ;;
 		*)
 			# Used by default to produce a full featured GCC compiler.
@@ -140,8 +141,7 @@
 				--enable-shared --with-system-zlib \
 				--enable-clocale=gnu --enable-objc-gc \
 				--enable-__cxa_atexit --enable-lto \
-				--enable-threads=posix \
-				--with-tune=$ARCH $BUILD_HOST &&
+				--enable-threads=posix &&
 				make && make install ;;
 	esac
 }