This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] WebAssembly: Disable subdirectory configuration for unsupported LD
- From: Maciej W.Rozycki <macro at sourceware dot org>
- To: bfd-cvs at sourceware dot org, gdb-cvs at sourceware dot org
- Date: 13 Feb 2018 13:03:40 -0000
- Subject: [binutils-gdb] WebAssembly: Disable subdirectory configuration for unsupported LD
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b29d26411c62fef6b1401aff4f2c6a157053de4d
commit b29d26411c62fef6b1401aff4f2c6a157053de4d
Author: Maciej W. Rozycki <macro@mips.com>
Date: Tue Feb 13 12:56:29 2018 +0000
WebAssembly: Disable subdirectory configuration for unsupported LD
Remove an LD subdirectory configuration error:
*** ld does not support target wasm32-unknown-none
*** see ld/configure.tgt for supported targets
make[1]: *** [configure-ld] Error 1
which prevents binutils for the WebAssembly target from being built
unless an explicit `--disable-ld' configuration option has been given.
Users must not have to disable features selected by default to get a
working configuration.
/
* configure.ac <wasm32-*-*> (noconfigdirs): Add `ld'.
* configure: Regenerate.
Diff:
---
ChangeLog | 5 +++++
configure | 3 +++
configure.ac | 3 +++
3 files changed, 11 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 35a8c01..03e1852 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-02-13 Maciej W. Rozycki <macro@mips.com>
+
+ * configure.ac <wasm32-*-*> (noconfigdirs): Add `ld'.
+ * configure: Regenerate.
+
2018-01-30 Nick Clifton <nickc@redhat.com>
* src-release.sh (do_proto_toplev): Add patterns for more junk files
diff --git a/configure b/configure
index 2d615a9..0601395 100755
--- a/configure
+++ b/configure
@@ -3860,6 +3860,9 @@ case "${target}" in
vax-*-*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
+ wasm32-*-*)
+ noconfigdirs="$noconfigdirs ld"
+ ;;
esac
# If we aren't building newlib, then don't build libgloss, since libgloss
diff --git a/configure.ac b/configure.ac
index aae9450..c343333 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1191,6 +1191,9 @@ case "${target}" in
vax-*-*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
+ wasm32-*-*)
+ noconfigdirs="$noconfigdirs ld"
+ ;;
esac
# If we aren't building newlib, then don't build libgloss, since libgloss