From 709ca3030e9057d95a7326f88e79ff3c95aa11d8 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sun, 5 May 2013 02:14:27 +0200 Subject: [Embtk] Give ability to specify default float abi to use at configure time Signed-off-by: Abdoulaye Walsimou Gaye --- autoconf/configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'autoconf') diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 61b95b5e37..fb7685386f 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -454,6 +454,14 @@ AC_ARG_WITH(default-cpu, AC_DEFINE_UNQUOTED([LLVM_DEFAULT_TARGET_MCPU],"$with_default_cpu", [Default cpu (-mcpu=cpu) to use to all compiler invocations.]) +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.]),, + with_default_float="") +AC_DEFINE_UNQUOTED([LLVM_DEFAULT_TARGET_FLOAT],"$with_default_float", + [Default float abi to use to all compiler invocations.]) + dnl Check for the endianness of the target AC_C_BIGENDIAN(AC_SUBST([ENDIAN],[big]),AC_SUBST([ENDIAN],[little])) -- cgit v1.2.3