This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: patch: use $(CXX_FOR_TARGET) in LIBLINK
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: Adam Megacz <megacz at cs dot berkeley dot edu>, java-patches at gcc dot gnu dot org
- Date: 21 Dec 2006 08:49:17 -0700
- Subject: Re: patch: use $(CXX_FOR_TARGET) in LIBLINK
- References: <x38xh1k4wx.fsf@nowhere.com> <17802.20197.351110.930329@zebedee.pink>
- Reply-to: tromey at redhat dot com
>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
>> 2006-12-21 Adam Megacz <megacz@cs.berkeley.edu>
>> * Makefile.am: use $(CXX_FOR_TARGET) in LIBLINK.
>> * Makefile.in: regenerate.
There shouldn't be any difference between CXX and CXX_FOR_TARGET in a
target library.
Andrew> Definitely.
Hmm... actually I had sent you a patch a couple weeks back that
purported to fix this problem.
And now I see that I accidentally :-( checked it in:
Index: configure.ac
===================================================================
--- configure.ac (revision 119792)
+++ configure.ac (revision 119793)
@@ -119,7 +119,6 @@
# (5) For libstdc++-v3, -fno-builtin must be present here so that a
# non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
# used in later tests. This may not be necessary in libjava; I don't know.
-m4_define([ac_cv_prog_CXX],[glibcxx_cv_prog_CXX])
m4_rename([_AC_ARG_VAR_PRECIOUS],[glibcxx_PRECIOUS])
m4_define([_AC_ARG_VAR_PRECIOUS],[])
save_CXXFLAGS="$CXXFLAGS"
Adam, did this not work for you?
Tom