summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-07-01 02:43:20 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2010-07-01 02:43:20 +0200
commitd08135ea9d5b779eb61cb6ac3f485a5ef06874fa (patch)
treefe63257683faa253dcb1c175e1a8568e2362bb63
parentce741c5a901a48c21cb453525530d9048c94e997 (diff)
Use --disable-werror unconditionally everywhere.
This is not Darwin-specific, and can cause issues on other OSes and architectures, too.
-rwxr-xr-xsummon-arm-toolchain11
1 files 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}"