summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-05-07 22:01:37 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-05-10 16:15:30 +0200
commit7c61d77dc58831d3f47753c7454b66a788727e71 (patch)
treea2c608f34e3c0cffc2a4998e55dc7ce88cfd437b /configure
parentc08b9b80cf40f55e711664c9b4e5ca09f3d94ddd (diff)
downloadllvm-7c61d77dc58831d3f47753c7454b66a788727e71.tar.gz
llvm-7c61d77dc58831d3f47753c7454b66a788727e71.tar.bz2
llvm-7c61d77dc58831d3f47753c7454b66a788727e71.tar.xz
[Embtk]: Give ability to specify default target ABI at configure time
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit 6ab8513df36438aa2c16facc94f306891446e061)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 17 insertions, 1 deletions
diff --git a/configure b/configure
index 46d2a78483..afef61aed8 100755
--- a/configure
+++ b/configure
@@ -1465,6 +1465,8 @@ Optional Packages:
case of hard float.
Default hash-style to use to all linker invocations: gnu
+ --with-default-abi Add by default -mabi=abi (if --with-default-abi=abi)
+ to all compiler invocations.
--with-optimize-option Select the compiler options to use for optimized
builds
--with-extra-options Specify additional options to compile LLVM with
@@ -4149,6 +4151,20 @@ _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=""
+fi
+
+
+cat >>confdefs.h <<_ACEOF
+#define LLVM_DEFAULT_TARGET_ABI "$with_default_abi"
+_ACEOF
+
+
+
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
@@ -10611,7 +10627,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 10614 "configure"
+#line 10630 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H