diff options
author | macro <macro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-02-13 13:01:33 +0000 |
---|---|---|
committer | macro <macro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-02-13 13:01:33 +0000 |
commit | c2762a30e7e1d2af0a47d1050079a18d4c08aea8 (patch) | |
tree | c039f8ba0740fb66187ed743315b285cfa7ad45e /configure.ac | |
parent | ccdd6f5c26ea6ac7335c441c733bc7cf75e39332 (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257624 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
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 |