From patchwork Tue Feb 5 22:36:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: top level configure patch committed: Disable libgo on some systems Date: Tue, 05 Feb 2013 12:36:26 -0000 From: Ian Taylor X-Patchwork-Id: 218455 Message-Id: To: gcc-patches@gcc.gnu.org This patch to the top level configure script avoids building libgo on some systems where it is known to not work. Bootstrapped on x86_64-unknown-linux-gnu, where it does work. Committed to mainline. This is PR 55969. Ian 2013-02-05 Ian Lance Taylor PR go/55969 * configure.ac: Disable libgo on some systems where it does not work. Index: configure.ac =================================================================== --- configure.ac (revision 195436) +++ configure.ac (working copy) @@ -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"