blob: 6054709c8940d2059918dd06ffdb6d5894a82811 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# DP: Fix gotools cross build.
* Makefile.am: Use GOC configured in configure.ac for cross builds.
* configure.ac: Fix NATIVE conditional.
* Makefile.in, configure: Regenerate.
Index: b/src/gotools/configure.ac
===================================================================
--- a/src/gotools/configure.ac
+++ b/src/gotools/configure.ac
@@ -46,7 +46,7 @@ AC_PROG_INSTALL
AC_PROG_CC
AC_PROG_GO
-AM_CONDITIONAL(NATIVE, test "$cross_compiling" = no)
+AM_CONDITIONAL(NATIVE, test "$host" = "$target")
dnl Test for -lsocket and -lnsl. Copied from libjava/configure.ac.
AC_CACHE_CHECK([for socket libraries], gotools_cv_lib_sockets,
|