wok-6.x rev 12267

Up: gcc (4.6.2) Our new compiler :-)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 12 14:56:44 2012 +0200 (2012-04-12)
parents 733f7b1b5b2a
children 97e8e0e4f878
files gcc-lib-base/receipt gcc/receipt gfortran/receipt libgfortran/receipt libgomp/receipt libobjc/receipt
line diff
     1.1 --- a/gcc-lib-base/receipt	Thu Apr 12 14:40:48 2012 +0200
     1.2 +++ b/gcc-lib-base/receipt	Thu Apr 12 14:56:44 2012 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gcc-lib-base"
     1.7 -VERSION="4.5.2"
     1.8 +VERSION="4.6.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="GCC base libraries, libgcc_s and libstdc++."
    1.11  WEB_SITE="http://gcc.gnu.org/"
    1.12 @@ -12,8 +12,8 @@
    1.13  genpkg_rules()
    1.14  {
    1.15  	mkdir -p $fs/usr/lib
    1.16 -	cp -a $_pkg/usr/lib/libgcc_s.so* $fs/usr/lib
    1.17 -	cp -a $_pkg/usr/lib/libstdc++.so* $fs/usr/lib
    1.18 +	cp -a $install/usr/lib/libgcc_s.so* $fs/usr/lib
    1.19 +	cp -a $install/usr/lib/libstdc++.so* $fs/usr/lib
    1.20  	rm $fs/usr/lib/*-gdb.py
    1.21  }
    1.22  
     2.1 --- a/gcc/receipt	Thu Apr 12 14:40:48 2012 +0200
     2.2 +++ b/gcc/receipt	Thu Apr 12 14:56:44 2012 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="gcc"
     2.7 -VERSION="4.5.2"
     2.8 +VERSION="4.6.2"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="The the GNU Compiler Collection."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -119,7 +119,6 @@
    2.13  {
    2.14  	cd $src
    2.15  
    2.16 -
    2.17  	# SliTaz is a Busybox based OS, why we so small and fast. Using gawk by
    2.18  	# default to build package will not ensure package work with Busybox awk
    2.19  	# and so should NOT be use to cook.
    2.20 @@ -133,8 +132,15 @@
    2.21  	[ "$3" == "--first-pass" ] && opt=$3
    2.22  	
    2.23  	# Use libiberty.a from binutils.
    2.24 -	sed -i 's/install_to_$(INSTALL_DEST) //' \
    2.25 -		libiberty/Makefile.in || return 1
    2.26 +	sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in || return 1
    2.27 +	
    2.28 +	case $ARCH in
    2.29 +		i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' \
    2.30 +			gcc/Makefile.in ;;
    2.31 +	esac
    2.32 +	
    2.33 +	#sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
    2.34 +	
    2.35  	mkdir -p ../gcc-build && cd ../gcc-build
    2.36  
    2.37  	# This is the default GCC and we want a native build to cross compile after.
    2.38 @@ -183,18 +189,18 @@
    2.39  genpkg_rules()
    2.40  {
    2.41  	mkdir -p  $fs/usr/share
    2.42 -	cp -a $_pkg/usr/bin $fs/usr
    2.43 +	cp -a $install/usr/bin $fs/usr
    2.44  	
    2.45  	# Copy all libs. Remove libgcc_s.so and libstdc++.so they goes in
    2.46  	# the gcc-lib-base package.
    2.47 -	cp -a $_pkg/usr/lib $fs/usr
    2.48 +	cp -a $install/usr/lib $fs/usr
    2.49  	rm -f $fs/usr/lib/libgcc_s.so*
    2.50  	rm -f $fs/usr/lib/libstdc++.so*
    2.51  	rm -f $fs/usr/lib/libgomp.so*
    2.52  	rm -f $fs/usr/lib/libobjc.so*
    2.53  
    2.54  	# Include files.
    2.55 -	cp -a $_pkg/usr/include $fs/usr
    2.56 +	cp -a $install/usr/include $fs/usr
    2.57  	
    2.58  	# Gfortran goes in gfortran package.
    2.59  	rm -f $fs/usr/bin/*gfortran
     3.1 --- a/gfortran/receipt	Thu Apr 12 14:40:48 2012 +0200
     3.2 +++ b/gfortran/receipt	Thu Apr 12 14:56:44 2012 +0200
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="gfortran"
     3.7 -VERSION="4.5.2"
     3.8 +VERSION="4.6.2"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="GCC fortran extension."
    3.11  WEB_SITE="http://gcc.gnu.org/"
    3.12 @@ -13,10 +13,10 @@
    3.13  genpkg_rules()
    3.14  {
    3.15  	mkdir -p $fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION $fs/usr/bin
    3.16 -	cp -a $_pkg/usr/bin/*gfortran $fs/usr/bin
    3.17 -	cp -a $_pkg/usr/lib/libgfortran*a $fs/usr/lib
    3.18 -	cp -a $_pkg/usr/lib/gcc/$HOST_SYSTEM/$VERSION/f* \
    3.19 +	cp -a $install/usr/bin/*gfortran $fs/usr/bin
    3.20 +	cp -a $install/usr/lib/libgfortran*a $fs/usr/lib
    3.21 +	cp -a $install/usr/lib/gcc/$HOST_SYSTEM/$VERSION/f* \
    3.22  		$fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION
    3.23 -	cp -a $_pkg/usr/lib/gcc/$HOST_SYSTEM/$VERSION/libgfortran* \
    3.24 +	cp -a $install/usr/lib/gcc/$HOST_SYSTEM/$VERSION/libgfortran* \
    3.25  		$fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION
    3.26  }
     4.1 --- a/libgfortran/receipt	Thu Apr 12 14:40:48 2012 +0200
     4.2 +++ b/libgfortran/receipt	Thu Apr 12 14:56:44 2012 +0200
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="libgfortran"
     4.7 -VERSION="4.5.2"
     4.8 +VERSION="4.6.2"
     4.9  CATEGORY="misc"
    4.10  SHORT_DESC="GCC fortran runtime."
    4.11  WEB_SITE="http://gcc.gnu.org/"
    4.12 @@ -12,5 +12,5 @@
    4.13  genpkg_rules()
    4.14  {
    4.15  	mkdir -p $fs/usr/lib
    4.16 -	cp -a $_pkg/usr/lib/libgfortran.so* $fs/usr/lib
    4.17 +	cp -a $install/usr/lib/libgfortran.so* $fs/usr/lib
    4.18  }
     5.1 --- a/libgomp/receipt	Thu Apr 12 14:40:48 2012 +0200
     5.2 +++ b/libgomp/receipt	Thu Apr 12 14:56:44 2012 +0200
     5.3 @@ -1,7 +1,7 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="libgomp"
     5.7 -VERSION="4.5.2"
     5.8 +VERSION="4.6.2"
     5.9  CATEGORY="development"
    5.10  SHORT_DESC="API specification for parallel programming."
    5.11  MAINTAINER="pascal.bellard@slitaz.org"
    5.12 @@ -12,5 +12,5 @@
    5.13  genpkg_rules()
    5.14  {
    5.15      mkdir -p  $fs/usr/lib
    5.16 -    cp -a $_pkg/usr/lib/libgomp.so* $fs/usr/lib
    5.17 +    cp -a $install/usr/lib/libgomp.so* $fs/usr/lib
    5.18  }
     6.1 --- a/libobjc/receipt	Thu Apr 12 14:40:48 2012 +0200
     6.2 +++ b/libobjc/receipt	Thu Apr 12 14:56:44 2012 +0200
     6.3 @@ -1,7 +1,7 @@
     6.4  # SliTaz package receipt.
     6.5  
     6.6  PACKAGE="libobjc"
     6.7 -VERSION="4.5.2"
     6.8 +VERSION="4.6.2"
     6.9  CATEGORY="development"
    6.10  SHORT_DESC="API for gcc object"
    6.11  MAINTAINER="slaxemulator@gmail.com"
    6.12 @@ -13,6 +13,6 @@
    6.13  genpkg_rules()
    6.14  {
    6.15  	mkdir -p $fs/usr/lib
    6.16 -	cp -a $_pkg/usr/lib/libobjc.so* $fs/usr/lib
    6.17 +	cp -a $install/usr/lib/libobjc.so* $fs/usr/lib
    6.18  }
    6.19