From 2dfd743d0243454628ff173fbf64165f435e2690 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Mon, 31 Dec 2012 00:45:38 +0100 Subject: [Embtk] Give ability to specify default float abi to use Signed-off-by: Abdoulaye Walsimou Gaye --- autoconf/configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'autoconf') diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 7babb90767..3756c4f9ce 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -422,6 +422,17 @@ if test "$withval" != "Unknown" ; then [Default cpu (-mcpu=cpu) to use to all compiler invocations.]) fi +dnl Default float abi to use to all compiler invocations +AC_ARG_WITH(default-float, + AS_HELP_STRING([--with-default-float], + [Default float abi to use to all compiler invocations.]),, + withval="Unknown") + +if test "$withval" != "Unknown" ; then + AC_DEFINE_UNQUOTED(DEFAULT_TARGET_FLOAT,"$withval", + [Default float abi to use to all compiler invocations.]) +fi + dnl Check for the endianness of the target AC_C_BIGENDIAN(AC_SUBST([ENDIAN],[big]),AC_SUBST([ENDIAN],[little])) -- cgit v1.2.3