diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-05-05 02:14:27 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-04-13 01:56:54 +0200 |
commit | 41834bdd6016de69273aaa510ea47be660f28f10 (patch) | |
tree | 5919d04ad82f39c2378e344ad5371a348fb5c9e1 /autoconf | |
parent | af84995d06bb792e77e84f9a04361e8b0268e800 (diff) | |
download | llvm-41834bdd6016de69273aaa510ea47be660f28f10.tar.gz llvm-41834bdd6016de69273aaa510ea47be660f28f10.tar.bz2 llvm-41834bdd6016de69273aaa510ea47be660f28f10.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 a44b228334..2da5a19aeb 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -472,6 +472,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])) |