wok-6.x rev 6744

gcc,gcc+gcj: add --enable-gold for link time optimizations
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 17 12:06:47 2010 +0200 (2010-10-17)
parents 8e7e58a7afbd
children be693bb0fed6
files gcc+gcj/receipt gcc/receipt
line diff
     1.1 --- a/gcc+gcj/receipt	Sun Oct 17 01:49:18 2010 +0000
     1.2 +++ b/gcc+gcj/receipt	Sun Oct 17 12:06:47 2010 +0200
     1.3 @@ -74,7 +74,7 @@
     1.4  		--with-python-dir=/usr/lib/$PYTHON_LIB/site-packages \
     1.5  		--with-x --enable-java-awt=gtk \
     1.6  		--enable-gtk-cairo \
     1.7 -		--enable-lto \
     1.8 +		--enable-lto --enable-gold \
     1.9  		$CONFIGURE_ARGS  $GCC_TARGET  &&
    1.10      make -j 4 bootstrap &&
    1.11      # Make install in the source tree to help creating derived pkgs
     2.1 --- a/gcc/receipt	Sun Oct 17 01:49:18 2010 +0000
     2.2 +++ b/gcc/receipt	Sun Oct 17 12:06:47 2010 +0200
     2.3 @@ -22,7 +22,8 @@
     2.4      ../$PACKAGE-$VERSION/configure --prefix=/usr --libexecdir=/usr/lib \
     2.5      --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \
     2.6      --enable-languages=c,c++,objc,fortran --enable-shared --with-system-zlib \
     2.7 -    --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit --enable-lto \
     2.8 +    --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit \
     2.9 +    --enable-lto --enable-gold \
    2.10      --enable-threads=posix --with-tune=i486 i486-pc-linux-gnu &&
    2.11      make -j 4 bootstrap &&
    2.12      # Make install in the source tree to help creating derivated pkgs