diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 94 |
1 files changed, 93 insertions, 1 deletions
@@ -1457,6 +1457,16 @@ Optional Features: Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --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-default-fpu Default FPU to use to all compiler invocations, in + 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 @@ -4073,6 +4083,88 @@ HOST_ARCH=$host_arch +# Check whether --with-default-cpu was given. +if test "${with_default_cpu+set}" = set; then + withval=$with_default_cpu; +else + with_default_cpu="" +fi + + +cat >>confdefs.h <<_ACEOF +#define LLVM_DEFAULT_TARGET_MCPU "$with_default_cpu" +_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 + + + +# Check whether --with-default-float was given. +if test "${with_default_float+set}" = set; then + withval=$with_default_float; +else + with_default_fpu="" +fi + + +cat >>confdefs.h <<_ACEOF +#define LLVM_DEFAULT_TARGET_FPU "$with_default_fpu" +_ACEOF + + + +# Check whether --with-default-hash-style was given. +if test "${with_default_hash_style+set}" = set; then + withval=$with_default_hash_style; sysv or both. +# Check whether --with-default-hash-style was given. +if test "${with_default_hash_style+set}" = set; then + withval=$with_default_hash_style; +fi + +fi + +if test "x$with_default_hash_style" != "x" ; then + case "$with_default_hash_style" in + gnu|sysv|both);; + *) + { { echo "$as_me:$LINENO: error: Invalid --with-default-hash-style. Use \"sysv\", \"gnu\" or \"both\"" >&5 +echo "$as_me: error: Invalid --with-default-hash-style. Use \"sysv\", \"gnu\" or \"both\"" >&2;} + { (exit 1); exit 1; }; };; + esac +fi + +cat >>confdefs.h <<_ACEOF +#define LLVM_DEFAULT_TARGET_HASHSTYLE "$with_default_hash_style" +_ACEOF + + + +# 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; } @@ -10535,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 10538 "configure" +#line 10630 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |