changeset 417:6dd7e870b1d4

No shipping package should ever use -Werror, no idea what new gcc versions will decide to warn on. (Fixes build on ubuntu 8.10.)
author Rob Landley <rob@landley.net>
date Sun, 26 Oct 2008 17:51:14 -0500
parents 4a140cf3cfb2
children 8815c541d779
files cross-compiler.sh mini-native.sh
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 &&
--- 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 &&