wok-current rev 12299

binutils: try a fix with --disable-initfini-array and --disable-werror for i486
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 16 13:26:47 2012 +0200 (2012-04-16)
parents e74531c2978d
children bff65eb88e5a
files binutils/receipt
line diff
     1.1 --- a/binutils/receipt	Mon Apr 16 12:23:25 2012 +0200
     1.2 +++ b/binutils/receipt	Mon Apr 16 13:26:47 2012 +0200
     1.3 @@ -49,11 +49,19 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	
     1.8 +	# Handle ARCH type
     1.9 +	case $ARCH in
    1.10 +		i?86)
    1.11 +			EXTRA_ARGS="--disable-werror" ;;
    1.12 +	esac
    1.13 +	
    1.14  	mkdir -p ../binutils-build && cd ../binutils-build
    1.15  	$src/configure \
    1.16  		--program-prefix=$TOOLPREFIX \
    1.17  		--enable-shared \
    1.18 -		$CONFIGURE_ARGS &&
    1.19 +		--disable-initfini-array \
    1.20 +		$CONFIGURE_ARGS $EXTRA_ARGS &&
    1.21  	make tooldir=/usr &&
    1.22  	make tooldir=/usr install &&
    1.23  	# This is the default binutils, so create symlinks to the target platform