# HG changeset patch # User Rob Landley # Date 1225061474 18000 # Node ID 6dd7e870b1d48b785c55ed84291a98abc6a93711 # Parent 4a140cf3cfb2e364e73e8060d7eb6c2ec85404ab No shipping package should ever use -Werror, no idea what new gcc versions will decide to warn on. (Fixes build on ubuntu 8.10.) diff -r 4a140cf3cfb2 -r 6dd7e870b1d4 cross-compiler.sh --- a/cross-compiler.sh Sun Oct 26 16:12:24 2008 -0500 +++ b/cross-compiler.sh Sun Oct 26 17:51:14 2008 -0500 @@ -19,7 +19,7 @@ "${CURSRC}/configure" --prefix="${CROSS}" --host=${CROSS_HOST} \ --target=${CROSS_TARGET} --with-lib-path=lib --disable-nls \ --disable-shared --disable-multilib --program-prefix="${ARCH}-" \ - $BINUTILS_FLAGS && + --disable-werror $BINUTILS_FLAGS && make -j $CPUS configure-host && make -j $CPUS CFLAGS="-O2 $STATIC_FLAGS" && make -j $CPUS install && diff -r 4a140cf3cfb2 -r 6dd7e870b1d4 mini-native.sh --- a/mini-native.sh Sun Oct 26 16:12:24 2008 -0500 +++ b/mini-native.sh Sun Oct 26 17:51:14 2008 -0500 @@ -124,7 +124,7 @@ CC="${ARCH}-gcc" AR="${ARCH}-ar" "${CURSRC}/configure" --prefix="${TOOLS}" \ --build="${CROSS_HOST}" --host="${CROSS_TARGET}" --target="${CROSS_TARGET}" \ --disable-nls --disable-shared --disable-multilib --program-prefix= \ - $BINUTILS_FLAGS && + --disable-werror $BINUTILS_FLAGS && make -j $CPUS configure-host && make -j $CPUS && make -j $CPUS install &&