summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Esden-Tempski <piotr@esden.net>2009-05-20 01:49:31 +0200
committerPiotr Esden-Tempski <piotr@esden.net>2009-05-20 01:50:34 +0200
commit451b5f3bddf0c4bb1e5f086e9cdbf97ff040cf5b (patch)
tree45340648f868b92c48cb9d3836a80ea0819d9e8b
parent6877dd1c94171ddb6281db40f4842e4d90dd419c (diff)
GDB compile yelds warnings but compiles on Mac. Added --without-werror to make the build work.
-rwxr-xr-xsummon-arm-toolchain5
1 files changed, 4 insertions, 1 deletions
diff --git a/summon-arm-toolchain b/summon-arm-toolchain
index ba688e5..429a8de 100755
--- a/summon-arm-toolchain
+++ b/summon-arm-toolchain
@@ -21,12 +21,14 @@ case "$(uname)" in
Linux)
echo "Found Linux OS."
GCCFLAGS=
+ GDBFLAGS=
;;
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"
;;
*)
echo "Found Unknown OS. Aborting!"
@@ -246,7 +248,8 @@ if [ ! -e .${GDB}.build ]; then
../${GDB}/configure --target=${TARGET} \
--prefix=${PREFIX} \
--enable-interwork \
- --enable-multilib || exit
+ --enable-multilib \
+ ${GDBFLAGS} || exit
echo "******************************************************************"
echo "* Building ${GDB}"
echo "******************************************************************"