Patch: 3.1: fix for PR libgcj/6068

Tom Tromey tromey@redhat.com
Mon Apr 1 11:27:00 GMT 2002


I tracked down PR 6068 to a top-level configure problem.

This patch fixes the problem.  I tested it on an x86-linux -x-
xscale-elf build.

Ok to commit for the trunk and 3.1 branch?

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* configure.in: Add FLAGS_FOR_TARGET to GCJ_FOR_TARGET.
	Fixes PR libgcj/6068.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.119.2.5
diff -u -r1.119.2.5 configure.in
--- configure.in 2002/03/27 22:48:48 1.119.2.5
+++ configure.in 2002/04/01 19:19:12
@@ -1552,6 +1552,10 @@
 else
   GCJ_FOR_TARGET=`echo gcj | sed -e 's/x/x/' ${program_transform_name}`
 fi
+case $GCJ_FOR_TARGET in
+*' $(FLAGS_FOR_TARGET)') ;;
+*) GCJ_FOR_TARGET=$GCJ_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;;
+esac
 
 if test "x${CXX_FOR_TARGET+set}" = xset; then
   :



More information about the Java-patches mailing list