1 # This file is generated from configure.ac by Autoconf. DO NOT EDIT!
2 # Local preconfigure fragment for sysdeps/arm
8 # If the compiler enables unwind tables by default, this causes
9 # problems with undefined symbols in -nostdlib link tests. To
10 # avoid this, add -fno-unwind-tables here and remove it in
11 # sysdeps/unix/sysv/linux/arm/configure.ac after those tests have
13 if test "${CFLAGS+set}" != "set"; then
16 CFLAGS="$CFLAGS -fno-unwind-tables"
19 as_fn_error $? "Old ABI no longer supported" "$LINENO" 5
24 # Lets ask the compiler which ARM family we've got
25 # Unfortunately it doesn't define any flags for implementations
26 # that you might pass to -mcpu or -mtune
27 # Note if you add patterns here you must ensure that
28 # an appropriate directory exists in sysdeps/arm
29 archcppflag=`$CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null |
30 sed -n 's/^#define \(__ARM_ARCH_[0-9].*__\) .*$/\1/p'`
32 case "x$archcppflag" in
35 { $as_echo "$as_me:${as_lineno-$LINENO}: Found compiler is configured for something newer than v7 - using v7" >&5
36 $as_echo "$as_me: Found compiler is configured for something newer than v7 - using v7" >&6;}
41 { $as_echo "$as_me:${as_lineno-$LINENO}: Found compiler is configured for $machine" >&5
42 $as_echo "$as_me: Found compiler is configured for $machine" >&6;}
47 { $as_echo "$as_me:${as_lineno-$LINENO}: Found compiler is configured for $machine" >&5
48 $as_echo "$as_me: Found compiler is configured for $machine" >&6;}
52 { $as_echo "$as_me:${as_lineno-$LINENO}: Found compiler is configured for $machine" >&5
53 $as_echo "$as_me: Found compiler is configured for $machine" >&6;}
57 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: arm/preconfigure: Did not find ARM architecture type; using default" >&5
58 $as_echo "$as_me: WARNING: arm/preconfigure: Did not find ARM architecture type; using default" >&2;}