wok-next diff gcc54/receipt @ rev 20649

grub2-efi: remove duplicate modules (thanks alanyih)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 04 10:48:37 2018 +0200 (2018-05-04)
parents c37be8966f03
children d958fec46c9f
line diff
     1.1 --- a/gcc54/receipt	Fri Mar 02 11:13:24 2018 +0200
     1.2 +++ b/gcc54/receipt	Fri May 04 10:48:37 2018 +0200
     1.3 @@ -18,7 +18,12 @@
     1.4  SPLIT="gcc54-lib-base"
     1.5  
     1.6  compile_rules() {
     1.7 -	ARCH_ARGS="--with-tune=$ARCH"
     1.8 +	case $ARCH in
     1.9 +		arm*)   ARCH_ARGS="--with-tune=armv6";;
    1.10 +		i?86)   ARCH_ARGS="--with-tune=$ARCH";;
    1.11 +		x86_64) ARCH_ARGS="--with-tune=nocona";;
    1.12 +	esac
    1.13 +
    1.14  	pkgversion="SliTaz"
    1.15  	languages="c,c++"
    1.16  
    1.17 @@ -44,7 +49,9 @@
    1.18  		--program-suffix=-54 \
    1.19  		--libdir=/usr/libgcc54 \
    1.20  		--with-pkgversion="$pkgversion" \
    1.21 -		${CONFIGURE_ARGS} ${ARCH_ARGS} &&
    1.22 +		--disable-multilib \
    1.23 +		$ARCH_ARGS \
    1.24 +		$CONFIGURE_ARGS &&
    1.25  	make && make install
    1.26  }
    1.27