wok diff glibc/receipt @ rev 10344
bash: use native gcc it dont cross compile
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 22 20:24:44 2011 +0200 (2011-05-22) |
parents | 1dcfc17824b0 |
children | 53b83e72d907 |
line diff
1.1 --- a/glibc/receipt Sat May 21 00:04:18 2011 +0200 1.2 +++ b/glibc/receipt Sun May 22 20:24:44 2011 +0200 1.3 @@ -10,7 +10,7 @@ 1.4 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.5 1.6 DEPENDS="glibc-base glibc-locale glibc-dev" 1.7 -BUILD_DEPENDS="linux-api-headers gawk" 1.8 +BUILD_DEPENDS="linux-api-headers" 1.9 1.10 # Genpkg order for tazwok. 1.11 COOK_OPT="genpkg=glibc-base:glibc-extra-samba:glib-locale:glibc-dev" 1.12 @@ -20,6 +20,13 @@ 1.13 { 1.14 cd $src 1.15 1.16 + # SliTaz is a Busybox based OS, why we so small and fast. Using gawk by 1.17 + # default to build package will not ensure package work with Busybox awk 1.18 + # and so should NOT be use to cook. 1.19 + if [ -x /usr/bin/cook ]; then 1.20 + [ -d "/var/lib/tazpkg/installed/gawk" ] || tazpkg get-install gawk 1.21 + fi 1.22 + 1.23 # Fix a bug that prevents Glibc from building with GCC-4.5.2: 1.24 patch -Np1 -i $stuff/glibc-2.13-gcc_fix-1.patch 1.25