diff options
author | Maciej W. Rozycki <macro@mips.com> | 2018-02-13 12:56:29 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@mips.com> | 2018-02-13 12:56:29 +0000 |
commit | b29d26411c62fef6b1401aff4f2c6a157053de4d (patch) | |
tree | 8fcd11d6f241903e5d1ed89d2eb3aa3ae43b6175 /configure | |
parent | WebAssembly: Correct an `index' global shadowing error for pre-4.8 GCC (diff) | |
download | binutils-gdb-b29d26411c62fef6b1401aff4f2c6a157053de4d.tar.gz binutils-gdb-b29d26411c62fef6b1401aff4f2c6a157053de4d.tar.bz2 binutils-gdb-b29d26411c62fef6b1401aff4f2c6a157053de4d.zip |
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.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
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 |