wok-6.x diff gcc/receipt @ rev 10369
xorg-libXinerama: can't cross (use host cc)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 03:43:26 2011 +0200 (2011-05-23) |
parents | 560bead4e358 |
children | 4b65e4765281 |
line diff
1.1 --- a/gcc/receipt Fri May 20 06:11:16 2011 +0200 1.2 +++ b/gcc/receipt Mon May 23 03:43:26 2011 +0200 1.3 @@ -14,7 +14,7 @@ 1.4 # and use it's own copy. 1.5 DEPENDS="libgomp libobjc gcc-lib-base mpc-library elfutils" 1.6 BUILD_DEPENDS="elfutils mpc-library mpfr mpfr-dev gmp gmp-dev elfutils \ 1.7 -elfutils-dev gawk" 1.8 +elfutils-dev" 1.9 1.10 # Rules to compile & install the temporary toolchain. 1.11 precook_tmp_toolchain() 1.12 @@ -111,6 +111,14 @@ 1.13 { 1.14 cd $src 1.15 1.16 + 1.17 + # SliTaz is a Busybox based OS, why we so small and fast. Using gawk by 1.18 + # default to build package will not ensure package work with Busybox awk 1.19 + # and so should NOT be use to cook. 1.20 + if [ -x /usr/bin/cook ]; then 1.21 + [ -d "/var/lib/tazpkg/installed/gawk" ] || tazpkg get-install gawk 1.22 + fi 1.23 + 1.24 # Package slitaz-toolchain use 'cook --options' when rebuilding 1.25 # the full SliTaz toolchain. 1.26 [ "$2" == "--first-pass" ] && opt=$2