This patch to the top level GCC configure script disables the go
languages on some systems where it is known to not work.  Bootstrapped
on x86_64-unknown-gnu-linux.

OK for mainline?

Ian

2014-10-22  Ian Lance Taylor  <i...@google.com>

* configure.ac: Disable the Go frontend on systems where it is known
to not work.
* configure: Regenerate.
Index: configure.ac
===================================================================
--- configure.ac        (revision 216522)
+++ configure.ac        (working copy)
@@ -772,6 +772,13 @@ case "${target}" in
     ;; 
 esac
 
+# Disable the go frontend on systems where it is known to not work.
+case "${target}" in
+*-*-darwin* | *-*-cygwin* | *-*-mingw* | *-*-aix*)
+    unsupported_languages="$unsupported_languages go"
+    ;;
+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

Reply via email to