aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2018-02-13 13:01:33 +0000
committerMaciej W. Rozycki <macro@gcc.gnu.org>2018-02-13 13:01:33 +0000
commit1fc1d82e960ea0556c8caffc125fec0a860a45ad (patch)
treec039f8ba0740fb66187ed743315b285cfa7ad45e /configure
parentb607e474206ceecadd044f592f74d1709b1b7cf6 (diff)
downloadgcc-1fc1d82e960ea0556c8caffc125fec0a860a45ad.zip
gcc-1fc1d82e960ea0556c8caffc125fec0a860a45ad.tar.gz
gcc-1fc1d82e960ea0556c8caffc125fec0a860a45ad.tar.bz2
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. From-SVN: r257624
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
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