diff options
author | Ian Lance Taylor <ian@airs.com> | 2013-02-05 22:39:30 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2013-02-05 22:39:30 +0000 |
commit | ac4f8ed4b53ffccdec483bd462775988d7c6545c (patch) | |
tree | 41a6cebf2302584d765c9418e06dc9c86d48cc5f /configure.ac | |
parent | 560bc1c1db9ffba911f68df8bea73c15791f001e (diff) | |
download | gdb-ac4f8ed4b53ffccdec483bd462775988d7c6545c.tar.gz |
PR go/55969
* configure.ac: Disable libgo on some systems where it does not
work.
* configure: Rebuild.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 739cdc786cc..f2be8abcc19 100644 --- a/configure.ac +++ b/configure.ac @@ -752,6 +752,23 @@ case "${target}" in ;; esac +# Disable libgo for some systems where it is known to not work. +# For testing, you can easily override this with --enable-libgo. +if test x$enable_libgo = x; then + case "${target}" in + *-*-darwin*) + # PR 46986 + noconfigdirs="$noconfigdirs target-libgo" + ;; + *-*-cygwin* | *-*-mingw*) + noconfigdirs="$noconfigdirs target-libgo" + ;; + *-*-aix*) + noconfigdirs="$noconfigdirs target-libgo" + ;; + esac +fi + # Default libgloss CPU subdirectory. libgloss_dir="$target_cpu" |