WebAssembly: Disable subdirectory configuration for unsupported LD
authorMaciej W. Rozycki <macro@mips.com>
Tue, 13 Feb 2018 12:56:29 +0000 (12:56 +0000)
committerMaciej W. Rozycki <macro@mips.com>
Tue, 13 Feb 2018 12:56:29 +0000 (12:56 +0000)
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.

ChangeLog
configure
configure.ac

index 35a8c010b1e2c0a88d13e141f5b71b80a017b68c..03e18521143d26827c67c55f05a8273cc3b2c855 100644 (file)
--- 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
index 2d615a99965229a4ea037ed5e79462836cf940f7..0601395512fdc6a4d9463194425dda6d1c5001e3 100755 (executable)
--- 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
index aae94501e48386e80a8276192e9ec8a8b9ec8bb1..c3433336523c58cc403af3dd9895ffb7a77da974 100644 (file)
@@ -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
This page took 0.035199 seconds and 4 git commands to generate.