This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: 3.1: fix for PR libgcj/6068
- From: Tom Tromey <tromey at redhat dot com>
- To: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 01 Apr 2002 12:28:49 -0700
- Subject: Patch: 3.1: fix for PR libgcj/6068
- Reply-to: tromey at redhat dot com
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
: