diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-05-05 02:14:27 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-05-10 16:09:44 +0200 |
commit | 709ca3030e9057d95a7326f88e79ff3c95aa11d8 (patch) | |
tree | 30c23e11567a50aa79b4c8bbabd892b68f95e6d9 /autoconf | |
parent | 38b7bf5fd05046a52788f143f18ef599c7070605 (diff) | |
download | llvm-709ca3030e9057d95a7326f88e79ff3c95aa11d8.tar.gz llvm-709ca3030e9057d95a7326f88e79ff3c95aa11d8.tar.bz2 llvm-709ca3030e9057d95a7326f88e79ff3c95aa11d8.tar.xz |
[Embtk] Give ability to specify default float abi to use at configure time
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
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])) |