projects
/
summon-arm-toolchain.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6877dd1
)
GDB compile yelds warnings but compiles on Mac. Added --without-werror to make the...
author
Piotr Esden-Tempski
<piotr@esden.net>
Tue, 19 May 2009 23:49:31 +0000
(
01:49
+0200)
committer
Piotr Esden-Tempski
<piotr@esden.net>
Tue, 19 May 2009 23:50:34 +0000
(
01:50
+0200)
summon-arm-toolchain
patch
|
blob
|
history
diff --git
a/summon-arm-toolchain
b/summon-arm-toolchain
index ba688e50e05542644891fb2a8efffc7c219a45ff..429a8dea5cf64037ac8be05fd28e7e9b5ca3d36f 100755
(executable)
--- a/
summon-arm-toolchain
+++ b/
summon-arm-toolchain
@@
-21,12
+21,14
@@
case "$(uname)" in
Linux)
echo "Found Linux OS."
GCCFLAGS=
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}"
;;
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!"
;;
*)
echo "Found Unknown OS. Aborting!"
@@
-246,7
+248,8
@@
if [ ! -e .${GDB}.build ]; then
../${GDB}/configure --target=${TARGET} \
--prefix=${PREFIX} \
--enable-interwork \
../${GDB}/configure --target=${TARGET} \
--prefix=${PREFIX} \
--enable-interwork \
- --enable-multilib || exit
+ --enable-multilib \
+ ${GDBFLAGS} || exit
echo "******************************************************************"
echo "* Building ${GDB}"
echo "******************************************************************"
echo "******************************************************************"
echo "* Building ${GDB}"
echo "******************************************************************"