diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-02-05 22:36:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-02-05 22:36:20 +0000 |
commit | cdbc9e924d0b3a02373bd753c1e7b2ecf7e649b0 (patch) | |
tree | 6b9184a6f03c187e551072810eb7ece7af014a90 /configure | |
parent | 7134cf2833082c1a4ba3606a76778ce79bfa58c0 (diff) | |
download | gcc-cdbc9e924d0b3a02373bd753c1e7b2ecf7e649b0.tar.gz |
re PR go/55969 (libgo fails to build on darwin)
PR go/55969
* configure.ac: Disable libgo on some systems where it does not
work.
From-SVN: r195768
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configure b/configure index e669aa0ef2e..caa34cae8f2 100755 --- a/configure +++ b/configure @@ -3413,6 +3413,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" |