Skip to content

Commit

Permalink
GDB compile yelds warnings but compiles on Mac. Added --without-werro…
Browse files Browse the repository at this point in the history
…r to make the build work.
  • Loading branch information
esden committed May 19, 2009
1 parent 6877dd1 commit 451b5f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion summon-arm-toolchain
Expand Up @@ -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!"
Expand Down Expand Up @@ -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 "******************************************************************"
Expand Down

0 comments on commit 451b5f3

Please sign in to comment.