diff options
author | Richard Henderson <rth@twiddle.net> | 2013-02-15 12:54:26 -0800 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-02-28 00:04:34 -0800 |
commit | 60812ba09d346d2d355bd8272c5e75ca55bc8f03 (patch) | |
tree | c39e82dda4fb314fde6b97ae5dba78eaaf3b88e4 /ports/sysdeps/arm | |
parent | 8d19fe64eeeece42639c65f9a73558f89ffbe7bb (diff) | |
download | glibc-60812ba09d346d2d355bd8272c5e75ca55bc8f03.tar glibc-60812ba09d346d2d355bd8272c5e75ca55bc8f03.tar.gz glibc-60812ba09d346d2d355bd8272c5e75ca55bc8f03.tar.bz2 glibc-60812ba09d346d2d355bd8272c5e75ca55bc8f03.zip |
arm: Update preconfigure fragment for gcc 4.8
New defines from gcc 4.8:
#define __ARM_ARCH_ISA_ARM 1
#define __ARM_ARCH_PROFILE 65
#define __ARM_ARCH_ISA_THUMB 2
#define __ARM_ARCH 7
all of which got in the way of the one we wanted:
#define __ARM_ARCH_7A__ 1
Diffstat (limited to 'ports/sysdeps/arm')
-rw-r--r-- | ports/sysdeps/arm/preconfigure | 2 |
1 files changed, 1 insertions, 1 deletions
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 |