cookutils rev 433
cross: use custom CFLAGS fro arm/glibc and small info in cook.conf about x86_64
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 20 03:34:23 2012 +0200 (2012-05-20) |
parents | 5492820f7f9f |
children | 6f565c07555e |
files | cross cross.conf |
line diff
1.1 --- a/cross Sun May 20 02:34:24 2012 +0200 1.2 +++ b/cross Sun May 20 03:34:23 2012 +0200 1.3 @@ -207,7 +207,7 @@ 1.4 # Some arch may need glibc-ports and custom CFLAGS 1.5 case "$ARCH" in 1.6 arm) 1.7 - #export CFLAGS="-march=armv6 -mtune=generic -g -O2" 1.8 + export CFLAGS="-march=armv6 -O2" 1.9 [ -f "$SRC/glibc-ports-$GLIBC_VERSION.tar.bz2" ] || wget \ 1.10 http://ftp.gnu.org/gnu/libc/glibc-ports-$GLIBC_VERSION.tar.bz2 \ 1.11 -O $SRC/glibc-ports-$GLIBC_VERSION.tar.bz2 || exit 1
2.1 --- a/cross.conf Sun May 20 02:34:24 2012 +0200 2.2 +++ b/cross.conf Sun May 20 03:34:23 2012 +0200 2.3 @@ -38,6 +38,7 @@ 2.4 # Peer package configure arguments 2.5 # 2.6 # x86_64: BINUTILS_ARGS="--disable-multilib --enable-64-bit-bfd" 2.7 +# x86_64: GCC_FINAL_ARGS="--enable-languages=c,c++ --disable-multilib" 2.8 # 2.9 BINUTILS_ARGS="--enable-shared" 2.10 GLIBC_ARGS="--enable-add-ons"