arm: only modify CFLAGS when configuring for arm-linux*eabi

This commit is contained in:
Andreas Schwab 2010-11-22 17:20:19 +01:00
parent 3ef58249ea
commit 82515b866b
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2010-11-22 Andreas Schwab <schwab@redhat.com>
* sysdeps/arm/preconfigure: Only modify CFLAGS when configuring
for arm-linux*eabi.
2010-10-19 Joseph Myers <joseph@codesourcery.com>
* sysdeps/arm/bits/mathdef.h (FP_FAST_FMA, FP_FAST_FMAF,

View File

@ -4,6 +4,10 @@ arm*)
case $config_os in
linux-gnueabi)
machine=arm/eabi/$machine
if [ "${CFLAGS+set}" != "set" ]; then
CFLAGS="-g -O2"
fi
CFLAGS="$CFLAGS -fno-unwind-tables"
;;
*)
machine=arm/$machine
@ -11,7 +15,3 @@ arm*)
esac
;;
esac
if [ "${CFLAGS+set}" != "set" ]; then
CFLAGS="-g -O2"
fi
CFLAGS="$CFLAGS -fno-unwind-tables"