From a69997260ceef1d88869c26771c943c15a509bb6 Mon Sep 17 00:00:00 2001 From: ian Date: Tue, 5 Feb 2013 22:36:20 +0000 Subject: PR go/55969 * configure.ac: Disable libgo on some systems where it does not work. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195768 138bc75d-0d04-0410-961f-82ee72b054a4 --- configure.ac | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'configure.ac') 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" -- cgit v1.2.1