mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-23 13:09:58 +08:00
arm: only modify CFLAGS when configuring for arm-linux*eabi
This commit is contained in:
parent
3ef58249ea
commit
82515b866b
@ -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,
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user