wok-6.x diff cross-x86_64-binutils/receipt @ rev 12718

cross-x86_64-binutils: dont --enable-shared (at least for now) and mv/ln -s for ldscripts
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 05 05:30:11 2012 +0200 (2012-05-05)
parents a497988d5e1b
children
line diff
     1.1 --- a/cross-x86_64-binutils/receipt	Sat May 05 00:35:18 2012 +0200
     1.2 +++ b/cross-x86_64-binutils/receipt	Sat May 05 05:30:11 2012 +0200
     1.3 @@ -28,11 +28,11 @@
     1.4  	cd $src
     1.5  	mkdir ../build && cd ../build
     1.6  	#--with-sysroot=$CROSS_PREFIX
     1.7 +	#--enable-shared
     1.8  	$src/configure \
     1.9  		--prefix=$CROSS_PREFIX \
    1.10  		--program-prefix=${CROSS_TARGET}- \
    1.11  		--enable-targets=$ARCH-slitaz-linux \
    1.12 -		--enable-shared \
    1.13  		--enable-64-bit-bfd \
    1.14  		--disable-multilib \
    1.15  		--disable-werror \
    1.16 @@ -53,4 +53,9 @@
    1.17  
    1.18  	# libiberty.h
    1.19  	cp -a $src/include/libiberty.h ${fs}${CROSS_PREFIX}/include
    1.20 +
    1.21 +	# Move ldscripts and create symlink
    1.22 +	cd ${fs}${CROSS_PREFIX}/$CROSS_TARGET
    1.23 +	mv lib/ldscripts ../lib
    1.24 +	rmdir lib && ln -s ../lib .
    1.25  }