]> sourceware.org Git - glibc.git/commitdiff
arm: only modify CFLAGS when configuring for arm-linux*eabi
authorAndreas Schwab <schwab@redhat.com>
Mon, 22 Nov 2010 16:20:19 +0000 (17:20 +0100)
committerAndreas Schwab <schwab@redhat.com>
Mon, 22 Nov 2010 16:46:49 +0000 (17:46 +0100)
ChangeLog.arm
sysdeps/arm/preconfigure

index 69a28c6ba8b06137ea1f9261be3a26ffac3ab95c..08ed9676652aa67e6e809f3be1cb50a2de97c0c3 100644 (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,
index 313da79692f44dca67b20dd541a38c1f3827de48..4b974cbe94469bdb3ce32908d4c37dc05d33b8b6 100644 (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"
This page took 0.044737 seconds and 5 git commands to generate.