diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-05-12 12:11:00 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-05-12 12:11:00 +0200 |
commit | 0824091315296ab3da27856b76e7422348d3850d (patch) | |
tree | 02c5b7d136d8fc306739d9ff03b9b5e640403f7e | |
parent | 2dde0d30145d774df263b13cbd142eddda15cc10 (diff) | |
download | llvm-0824091315296ab3da27856b76e7422348d3850d.tar.gz llvm-0824091315296ab3da27856b76e7422348d3850d.tar.bz2 llvm-0824091315296ab3da27856b76e7422348d3850d.tar.xz |
[Embtk] autoconf: fix build error when no hash-style configured
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r-- | autoconf/configure.ac | 4 | ||||
-rwxr-xr-x | configure | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index a5276a59e3..9792ae407d 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -481,9 +481,9 @@ if test "x$with_default_hash_style" != "x" ; then *) AC_MSG_ERROR([Invalid --with-default-hash-style. Use "sysv", "gnu" or "both"]);; esac - AC_DEFINE_UNQUOTED([LLVM_DEFAULT_TARGET_HASHSTYLE],"$with_default_hash_style", - [Default hash-style to use to all linker invocations.]) 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, @@ -4143,12 +4143,12 @@ if test "x$with_default_hash_style" != "x" ; then 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 -fi # Check whether --with-default-abi was given. |