|
Packit Service |
82fcde |
# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
|
|
Packit Service |
82fcde |
# Local preconfigure fragment for sysdeps/arm
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
case "$machine" in
|
|
Packit Service |
82fcde |
arm*)
|
|
Packit Service |
82fcde |
# If the compiler enables unwind tables by default, this causes
|
|
Packit Service |
82fcde |
# problems with undefined symbols in -nostdlib link tests. To
|
|
Packit Service |
82fcde |
# avoid this, add -fno-unwind-tables here and remove it in
|
|
Packit Service |
82fcde |
# sysdeps/arm/configure.ac after those tests have been run.
|
|
Packit Service |
82fcde |
if test "${CFLAGS+set}" != "set"; then
|
|
Packit Service |
82fcde |
CFLAGS="-g -O2"
|
|
Packit Service |
82fcde |
fi
|
|
Packit Service |
82fcde |
CFLAGS="$CFLAGS -fno-unwind-tables"
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
base_machine=arm
|
|
Packit Service |
82fcde |
# Lets ask the compiler which ARM family we've got
|
|
Packit Service |
82fcde |
# Unfortunately it doesn't define any flags for implementations
|
|
Packit Service |
82fcde |
# that you might pass to -mcpu or -mtune
|
|
Packit Service |
82fcde |
# Note if you add patterns here you must ensure that
|
|
Packit Service |
82fcde |
# an appropriate directory exists in sysdeps/arm
|
|
Packit Service |
82fcde |
archcppflag=`$CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null |
|
|
Packit Service |
82fcde |
sed -n 's/^#define \(__ARM_ARCH_[0-9].*__\) .*$/\1/p'`
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
case "x$archcppflag" in
|
|
Packit Service |
82fcde |
x__ARM_ARCH_89*__)
|
|
Packit Service |
82fcde |
machine=armv7
|
|
Packit Service |
82fcde |
{ $as_echo "$as_me:${as_lineno-$LINENO}: Found compiler is configured for something newer than v7 - using v7" >&5
|
|
Packit Service |
82fcde |
$as_echo "$as_me: Found compiler is configured for something newer than v7 - using v7" >&6;}
|
|
Packit Service |
82fcde |
;;
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
x__ARM_ARCH_7A__)
|
|
Packit Service |
82fcde |
machine=armv7
|
|
Packit Service |
82fcde |
{ $as_echo "$as_me:${as_lineno-$LINENO}: Found compiler is configured for $machine" >&5
|
|
Packit Service |
82fcde |
$as_echo "$as_me: Found compiler is configured for $machine" >&6;}
|
|
Packit Service |
82fcde |
;;
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
x__ARM_ARCH_6T2__)
|
|
Packit Service |
82fcde |
machine=armv6t2
|
|
Packit Service |
82fcde |
{ $as_echo "$as_me:${as_lineno-$LINENO}: Found compiler is configured for $machine" >&5
|
|
Packit Service |
82fcde |
$as_echo "$as_me: Found compiler is configured for $machine" >&6;}
|
|
Packit Service |
82fcde |
;;
|
|
Packit Service |
82fcde |
x__ARM_ARCH_6*__)
|
|
Packit Service |
82fcde |
machine=armv6
|
|
Packit Service |
82fcde |
{ $as_echo "$as_me:${as_lineno-$LINENO}: Found compiler is configured for $machine" >&5
|
|
Packit Service |
82fcde |
$as_echo "$as_me: Found compiler is configured for $machine" >&6;}
|
|
Packit Service |
82fcde |
;;
|
|
Packit Service |
82fcde |
*)
|
|
Packit Service |
82fcde |
machine=arm
|
|
Packit Service |
82fcde |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: arm/preconfigure: Did not find ARM architecture type; using default" >&5
|
|
Packit Service |
82fcde |
$as_echo "$as_me: WARNING: arm/preconfigure: Did not find ARM architecture type; using default" >&2;}
|
|
Packit Service |
82fcde |
;;
|
|
Packit Service |
82fcde |
esac
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
machine=arm/$machine
|
|
Packit Service |
82fcde |
with_fp_cond="!defined __SOFTFP__"
|
|
Packit Service |
82fcde |
esac
|