diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-05-07 22:01:37 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-04-13 01:56:54 +0200 |
commit | 1da4cf10b52b888ccb9ae43c7d523d075b509331 (patch) | |
tree | 47c6ec5b7ba1577d2eee5f46974d1f092eca45b1 /autoconf | |
parent | 04852c7374686fe061e589fb028768a539c2920b (diff) | |
download | llvm-1da4cf10b52b888ccb9ae43c7d523d075b509331.tar.gz llvm-1da4cf10b52b888ccb9ae43c7d523d075b509331.tar.bz2 llvm-1da4cf10b52b888ccb9ae43c7d523d075b509331.tar.xz |
[Embtk]: Give ability to specify default target ABI 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 7f62a66ff2..6a9718844d 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -503,6 +503,14 @@ fi AC_DEFINE_UNQUOTED([LLVM_DEFAULT_TARGET_HASHSTYLE],"$with_default_hash_style", [Default hash-style to use to all linker invocations.]) +dnl Default cpu (-mabi=abi) to use to all compiler invocations +AC_ARG_WITH(default-abi, + AS_HELP_STRING([--with-default-abi], + [Add by default -mabi=abi (if --with-default-abi=abi) to all compiler invocations.]),, + with_default_abi="") +AC_DEFINE_UNQUOTED([LLVM_DEFAULT_TARGET_ABI],"$with_default_abi", + [Add by default -mabi=abi to all compiler invocations.]) + dnl Check for the endianness of the target AC_C_BIGENDIAN(AC_SUBST([ENDIAN],[big]),AC_SUBST([ENDIAN],[little])) |