PR go/55969
* configure.ac: Disable libgo on some systems where it does not work. * configure: Rebuild.
This commit is contained in:
parent
4d4ef6fd75
commit
a413f71ae5
3 changed files with 41 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2013-02-05 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
PR go/55969
|
||||
* configure.ac: Disable libgo on some systems where it does not
|
||||
work.
|
||||
* configure: Rebuild.
|
||||
|
||||
2013-02-05 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* configure: Regenerate after syncing config/.
|
||||
|
|
17
configure
vendored
17
configure
vendored
|
@ -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"
|
||||
|
||||
|
|
17
configure.ac
17
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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue