wok diff gcc/receipt @ rev 12916
glibc-base: handle cross installation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 29 18:13:06 2012 +0000 (2012-05-29) |
parents | 2345afe1479a |
children | 4c16797dce28 |
line diff
1.1 --- a/gcc/receipt Thu Apr 12 14:56:44 2012 +0200 1.2 +++ b/gcc/receipt Tue May 29 18:13:06 2012 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="gcc" 1.7 -VERSION="4.6.2" 1.8 +VERSION="4.6.3" 1.9 CATEGORY="development" 1.10 SHORT_DESC="The the GNU Compiler Collection." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -81,7 +81,7 @@ 1.13 sed '/MULTILIB_OSDIRNAMES/d' -i $file 1.14 done 1.15 fi 1.16 - 1.17 + 1.18 # GCC requires the GMP, MPFR and MPC packages. 1.19 tazwok get-src mpfr --target=$PWD/mpfr || { report close-bloc; return 1; } 1.20 tazwok get-src gmp --target=$PWD/gmp || { report close-bloc; return 1; } 1.21 @@ -130,17 +130,17 @@ 1.22 # the full SliTaz toolchain. 1.23 [ "$2" == "--first-pass" ] && opt=$2 1.24 [ "$3" == "--first-pass" ] && opt=$3 1.25 - 1.26 + 1.27 # Use libiberty.a from binutils. 1.28 sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in || return 1 1.29 - 1.30 + 1.31 case $ARCH in 1.32 i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' \ 1.33 gcc/Makefile.in ;; 1.34 esac 1.35 - 1.36 + 1.37 #sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in 1.38 - 1.39 + 1.40 mkdir -p ../gcc-build && cd ../gcc-build 1.41 1.42 # This is the default GCC and we want a native build to cross compile after. 1.43 @@ -190,7 +190,7 @@ 1.44 { 1.45 mkdir -p $fs/usr/share 1.46 cp -a $install/usr/bin $fs/usr 1.47 - 1.48 + 1.49 # Copy all libs. Remove libgcc_s.so and libstdc++.so they goes in 1.50 # the gcc-lib-base package. 1.51 cp -a $install/usr/lib $fs/usr 1.52 @@ -201,13 +201,13 @@ 1.53 1.54 # Include files. 1.55 cp -a $install/usr/include $fs/usr 1.56 - 1.57 + 1.58 # Gfortran goes in gfortran package. 1.59 rm -f $fs/usr/bin/*gfortran 1.60 rm -f $fs/usr/lib/libgfortran* 1.61 rm -f $fs/usr/lib/gcc/*/$VERSION/libgfortran* 1.62 rm -rf $fs/usr/lib/gcc/*/$VERSION/f* 1.63 - 1.64 + 1.65 # Remove build directory. 1.66 rm -rf $WOK/$PACKAGE/source/$PACKAGE-build 1.67 rm -rf $WOK/$PACKAGE/$PACKAGE-build