diff options
-rw-r--r-- | ports/ChangeLog.arm | 4 | ||||
-rw-r--r-- | ports/sysdeps/arm/preconfigure | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm index 9e91ad112b..e7bc402591 100644 --- a/ports/ChangeLog.arm +++ b/ports/ChangeLog.arm @@ -1,3 +1,7 @@ +2013-02-28 Richard Henderson <rth@redhat.com> + + * sysdeps/arm/preconfigure: Adjust scan for __ARM_ARCH_* defines. + 2013-02-27 Roland McGrath <roland@hack.frob.com> * sysdeps/arm/sysdep.h (CFI_SECTIONS): New macro. diff --git a/ports/sysdeps/arm/preconfigure b/ports/sysdeps/arm/preconfigure index 20f6d91a12..e3762afc25 100644 --- a/ports/sysdeps/arm/preconfigure +++ b/ports/sysdeps/arm/preconfigure @@ -10,7 +10,7 @@ arm*) # an appropriate directory exists in sysdeps/arm archcppflag=`echo "" | $CC $CFLAGS $CPPFLAGS -E -dM - | - grep __ARM_ARCH | + grep '__ARM_ARCH_[0-9].*__' | sed -e 's/^#define //' -e 's/ .*//'` case x$archcppflag in |