From 1fc1d82e960ea0556c8caffc125fec0a860a45ad Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Tue, 13 Feb 2018 13:01:33 +0000 Subject: [PATCH] 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 (noconfigdirs): Add `ld'. * configure: Regenerate. From-SVN: r257624 --- ChangeLog | 5 +++++ configure | 3 +++ configure.ac | 3 +++ 3 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7f2c5431de0..d72c91cfa20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-02-13 Maciej W. Rozycki + + * configure.ac (noconfigdirs): Add `ld'. + * configure: Regenerate. + 2018-01-18 Boris Kolpackov * MAINTAINERS (write after approval): Add myself. diff --git a/configure b/configure index 2d615a99965..0601395512f 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 aae94501e48..c3433336523 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 -- 2.30.2