wok-next rev 10025

gcc: just build c language support at first pass
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 19:09:40 2011 +0200 (2011-05-19)
parents 0fc448aca6fe
children dd0e8a306fc7
files gcc/receipt
line diff
     1.1 --- a/gcc/receipt	Thu May 19 18:19:46 2011 +0200
     1.2 +++ b/gcc/receipt	Thu May 19 19:09:40 2011 +0200
     1.3 @@ -131,7 +131,7 @@
     1.4  				--libexecdir=/usr/lib \
     1.5  				--disable-nls \
     1.6  				--enable-shared \
     1.7 -				--enable-languages=c,c++ \
     1.8 +				--enable-languages=c \
     1.9  				--disable-multilib \
    1.10  				--disable-libstdcxx-pch \
    1.11  				--enable-__cxa_atexit \
    1.12 @@ -172,10 +172,10 @@
    1.13  	# Copy all libs. Remove libgcc_s.so and libstdc++.so they goes in
    1.14  	# the gcc-lib-base-$VERSION package.
    1.15  	cp -a $_pkg/usr/lib $fs/usr
    1.16 -	rm $fs/usr/lib/libgcc_s.so*
    1.17 -	rm $fs/usr/lib/libstdc++.so*
    1.18 -	rm $fs/usr/lib/libgomp.so*
    1.19 -	rm $fs/usr/lib/libobjc.so*
    1.20 +	rm -f $fs/usr/lib/libgcc_s.so*
    1.21 +	rm -f $fs/usr/lib/libstdc++.so*
    1.22 +	rm -f $fs/usr/lib/libgomp.so*
    1.23 +	rm -f $fs/usr/lib/libobjc.so*
    1.24  
    1.25  	# Include files.
    1.26  	cp -a $_pkg/usr/include $fs/usr