[PATCH, libjava/classpath]: Fix overriding recipe for target 'gjdoc' build warning
Ian Lance Taylor
iant@google.com
Wed Aug 12 16:59:00 GMT 2015
On Wed, Aug 12, 2015 at 9:47 AM, Jeff Law <law@redhat.com> wrote:
>
> If you're comfortable with Go at this point and we have mechanisms in place
> to ensure Go only gets built on platforms that support Go, then I think we
> should go forward with replacing GCJ with Go.
We have the mechanism for disabling Go on systems where it will not
work. However, the list of such systems is undoubtedly incomplete at
this time.
In the top level configure.ac:
# Disable the go frontend on systems where it is known to not work. Please keep
# this in sync with contrib/config-list.mk.
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
case "${target}" in
*-*-darwin*)
# PR 46986
noconfigdirs="$noconfigdirs target-libgo"
;;
*-*-cygwin* | *-*-mingw*)
noconfigdirs="$noconfigdirs target-libgo"
;;
*-*-aix*)
noconfigdirs="$noconfigdirs target-libgo"
;;
esac
fi
More information about the Gcc-patches
mailing list