cookutils rev 372
cross: the goal is a light script we can edit so hardcode arch options so we all build exactly the same
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 10 21:47:24 2012 +0200 (2012-05-10) |
parents | 43b4a88acaa8 |
children | e8c2be9bd8fe |
files | cross |
line diff
1.1 --- a/cross Thu May 10 21:31:45 2012 +0200 1.2 +++ b/cross Thu May 10 21:47:24 2012 +0200 1.3 @@ -63,15 +63,15 @@ 1.4 tar xjf $SRC/binutils-$BINUTILS_VERSION.tar.bz2 1.5 # Peer arch options --disable-werror 1.6 case $ARCH in 1.7 - arm) archopts="" ;; 1.8 - x86_64) archopts="" ;; 1.9 + arm) archopts="--enable-shared" ;; 1.10 + x86_64) archopts="--disable-multilib" ;; 1.11 esac 1.12 cd binutils-$BINUTILS_VERSION 1.13 ./configure \ 1.14 --prefix=$PREFIX \ 1.15 --target=$TARGET \ 1.16 --enable-targets=$BUILD_SYSTEM \ 1.17 - --enable-shared $archopts 1.18 + $archopts 1.19 make || exit 1 1.20 make install 1.21 }