wok-next diff binutils/receipt @ rev 12354

syslinux: fix kbd check
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 19 22:41:14 2012 +0200 (2012-04-19)
parents 733f7b1b5b2a
children 8cb2ce74ff6b
line diff
     1.1 --- a/binutils/receipt	Thu Apr 12 14:40:48 2012 +0200
     1.2 +++ b/binutils/receipt	Thu Apr 19 22:41:14 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