summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-05-05 02:14:27 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-04-13 01:56:54 +0200
commit41834bdd6016de69273aaa510ea47be660f28f10 (patch)
tree5919d04ad82f39c2378e344ad5371a348fb5c9e1 /configure
parentaf84995d06bb792e77e84f9a04361e8b0268e800 (diff)
downloadllvm-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 'configure')
-rwxr-xr-xconfigure18
1 files changed, 17 insertions, 1 deletions
diff --git a/configure b/configure
index d8081ee6c8..46bb6110f7 100755
--- a/configure
+++ b/configure
@@ -1468,6 +1468,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-float Default float abi to use 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
@@ -4119,6 +4121,20 @@ _ACEOF
+# Check whether --with-default-float was given.
+if test "${with_default_float+set}" = set; then
+ withval=$with_default_float;
+else
+ with_default_float=""
+fi
+
+
+cat >>confdefs.h <<_ACEOF
+#define LLVM_DEFAULT_TARGET_FLOAT "$with_default_float"
+_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; }
@@ -10622,7 +10638,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 10625 "configure"
+#line 10641 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H