wok diff busybox-static/receipt @ rev 5942

Add elfutils
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 02 18:47:33 2010 +0200 (2010-08-02)
parents 51ee2dc8ea91
children d30a1e06f817
line diff
     1.1 --- a/busybox-static/receipt	Wed Jul 28 11:56:35 2010 +0200
     1.2 +++ b/busybox-static/receipt	Mon Aug 02 18:47:33 2010 +0200
     1.3 @@ -33,8 +33,13 @@
     1.4  EOT
     1.5      cp ../stuff/$SOURCE-$VERSION.config .config
     1.6      make oldconfig
     1.7 -    # "CFLAGS=-O0" is a workaround for GCC 4.5.0
     1.8 -    make -j 4 "CFLAGS=-O0" && make "CFLAGS=-O0" install
     1.9 +    if [ "$(gcc --version | awk '{ print $3; exit }')" == "4.5.0" ]; then
    1.10 +	# "CFLAGS=-O0" is a workaround for GCC 4.5.0 (sed crash)
    1.11 +	# "CFLAGS=-fno-tree-pta" may be a workaround for GCC 4.5.0 (sed garbage)
    1.12 +	make -j 4 "CFLAGS=-O0" && make "CFLAGS=-O0" install
    1.13 +    else
    1.14 +	make -j 4 && make install
    1.15 +    fi
    1.16      echo "Chmod 4755 on busybox binary..."
    1.17      chmod 4755 _install/bin/busybox
    1.18  }