6 # Lets ask the compiler which ARM family we've got
7 # Unfortunately it doesn't define any flags for implementations
8 # that you might pass to -mcpu or -mtune
9 # Note if you add patterns here you must ensure that
10 # an appropriate directory exists in sysdeps/arm
11 archcppflag=`echo "" |
12 $CC $CFLAGS $CPPFLAGS -E -dM - |
14 sed -e 's/^#define //' -e 's/ .*//'`
19 echo "Found compiler is configured for something newer than v7 - using v7"
24 echo "Found compiler is configured for $machine"
29 echo "Found compiler is configured for $machine"
34 echo 2>&1 "arm/preconfigure: Did not find ARM architecture type; using default"
39 if [ "${CFLAGS+set}" != "set" ]; then
42 CFLAGS="$CFLAGS -fno-unwind-tables"
45 echo "Old ABI no longer supported" 2>&1