# HG changeset patch # User Christophe Lincoln # Date 1337477663 -7200 # Node ID ace31c808b560a0a8d03d419857cd49cc05bf4a0 # Parent 5492820f7f9f4961a2565126006619fd43be3444 cross: use custom CFLAGS fro arm/glibc and small info in cook.conf about x86_64 diff -r 5492820f7f9f -r ace31c808b56 cross --- a/cross Sun May 20 02:34:24 2012 +0200 +++ b/cross Sun May 20 03:34:23 2012 +0200 @@ -207,7 +207,7 @@ # Some arch may need glibc-ports and custom CFLAGS case "$ARCH" in arm) - #export CFLAGS="-march=armv6 -mtune=generic -g -O2" + export CFLAGS="-march=armv6 -O2" [ -f "$SRC/glibc-ports-$GLIBC_VERSION.tar.bz2" ] || wget \ http://ftp.gnu.org/gnu/libc/glibc-ports-$GLIBC_VERSION.tar.bz2 \ -O $SRC/glibc-ports-$GLIBC_VERSION.tar.bz2 || exit 1 diff -r 5492820f7f9f -r ace31c808b56 cross.conf --- a/cross.conf Sun May 20 02:34:24 2012 +0200 +++ b/cross.conf Sun May 20 03:34:23 2012 +0200 @@ -38,6 +38,7 @@ # Peer package configure arguments # # x86_64: BINUTILS_ARGS="--disable-multilib --enable-64-bit-bfd" +# x86_64: GCC_FINAL_ARGS="--enable-languages=c,c++ --disable-multilib" # BINUTILS_ARGS="--enable-shared" GLIBC_ARGS="--enable-add-ons"