diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-02-03 01:05:01 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-02-03 01:05:01 +0100 |
commit | 64885c28258736bc788c96a243bb0002d3ac55f0 (patch) | |
tree | 29531b814db2f6ff99d5bac5f7078f00703d77e1 /configure | |
parent | fe8ff3f35b187383a0f59697c637336aba563a4b (diff) | |
download | llvm-embtk-support-release-3.2.tar.gz llvm-embtk-support-release-3.2.tar.bz2 llvm-embtk-support-release-3.2.tar.xz |
[Embtk]: MIPS: give ability to specify default -mabiembtk-support-release-3.2
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -1442,6 +1442,8 @@ Optional Packages: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-default-cpu Add by default -mcpu=cpu to all compiler invocations. + --with-default-abi Add by default -mabi=abi to all compiler + invocations. --with-default-float Default float abi to use to all compiler invocations. --with-default-fpu Default FPU to use to all compiler invocations, in @@ -3981,6 +3983,23 @@ _ACEOF fi +# Check whether --with-default-abi was given. +if test "${with_default_abi+set}" = set; then + withval=$with_default_abi; +else + with_default_abi="Unknown" +fi + + +if test "$with_default_abi" != "Unknown" ; then + +cat >>confdefs.h <<_ACEOF +#define DEFAULT_TARGET_ABI "$with_default_abi" +_ACEOF + +fi + + # Check whether --with-default-float was given. if test "${with_default_float+set}" = set; then withval=$with_default_float; @@ -10402,7 +10421,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 10405 "configure" +#line 10424 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |