From d08135ea9d5b779eb61cb6ac3f485a5ef06874fa Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 1 Jul 2010 02:43:20 +0200 Subject: Use --disable-werror unconditionally everywhere. This is not Darwin-specific, and can cause issues on other OSes and architectures, too. --- summon-arm-toolchain | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/summon-arm-toolchain b/summon-arm-toolchain index 13ad623..fd49ee9 100755 --- a/summon-arm-toolchain +++ b/summon-arm-toolchain @@ -23,20 +23,19 @@ SOURCES=${SUMMON_DIR}/sources export PATH="${PREFIX}/bin:${PATH}" +GCCFLAGS= +GDBFLAGS= +BINUTILFLAGS= + case "$(uname)" in Linux) echo "Found Linux OS." - GCCFLAGS= - GDBFLAGS= - BINUTILFLAGS= ;; Darwin) echo "Found Darwin OS." GCCFLAGS="--with-gmp=${DARWIN_OPT_PATH} \ --with-mpfr=${DARWIN_OPT_PATH} \ -with-libiconv-prefix=${DARWIN_OPT_PATH}" - GDBFLAGS="--disable-werror" - BINUTILFLAGS="--disable-werror" ;; *) echo "Found unknown OS. Aborting!" @@ -128,6 +127,7 @@ if [ ! -e .${BINUTILS}.build ]; then --with-gnu-as \ --with-gnu-ld \ --disable-nls \ + --disable-werror \ ${BINUTILFLAGS} || exit echo "******************************************************************" echo "* Building ${BINUTILS}" @@ -265,6 +265,7 @@ if [ ! -e .${GDB}.build ]; then --prefix=${PREFIX} \ --enable-interwork \ --enable-multilib \ + --disable-werror \ ${GDBFLAGS} || exit echo "******************************************************************" echo "* Building ${GDB}" -- cgit v1.2.3