This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
patch: use $(CXX_FOR_TARGET) in LIBLINK
- From: Adam Megacz <megacz at cs dot berkeley dot edu>
- To: java-patches at gcc dot gnu dot org
- Date: Thu, 21 Dec 2006 00:51:42 -0800
- Subject: patch: use $(CXX_FOR_TARGET) in LIBLINK
Ok to commit? Without this, cross-compiles try to use a bare
invocation of "g++" to build such things as .libs/jni-libjvm.o.
2006-12-21 Adam Megacz <megacz@cs.berkeley.edu>
* Makefile.am: use $(CXX_FOR_TARGET) in LIBLINK.
* Makefile.in: regenerate.
- a
Index: Makefile.am
===================================================================
--- Makefile.am (revision 120101)
+++ Makefile.am (working copy)
@@ -94,7 +94,7 @@
GCJLINK = $(LIBTOOL) --tag=GCJ --mode=link $(GCJ) -L$(here) $(JC1FLAGS) \
$(LDFLAGS) -o $@
-LIBLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXX) -L$(here) $(JC1FLAGS) \
+LIBLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXX_FOR_TARGET) -L$(here) $(JC1FLAGS) \
$(LDFLAGS) $(extra_ldflags_libjava) -o $@
GCC_UNWIND_INCLUDE = @GCC_UNWIND_INCLUDE@
--
PGP/GPG: 5C9F F366 C9CF 2145 E770 B1B8 EFB1 462D A146 C380