patch: use $(CXX_FOR_TARGET) in LIBLINK

Tom Tromey tromey@redhat.com
Thu Dec 21 17:55:00 GMT 2006


>>>>> "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



More information about the Java-patches mailing list