This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: PR 7633
- 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: 21 Aug 2002 18:50:00 -0600
- Subject: Patch: FYI: PR 7633
- Reply-to: tromey at redhat dot com
I'm checking this in.
This fixes PR 7633. We must use $(datadir) here so that the entire
build is consistent. Also this use is more correct according to the
GNU coding standards.
Tested on x86 Red Hat Linux 7.3.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* Make-lang.in (java/jcf-path.o): Use $(datadir), not
$(prefix)/share. For PR libgcj/7633.
Index: Make-lang.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Make-lang.in,v
retrieving revision 1.90
diff -u -r1.90 Make-lang.in
--- Make-lang.in 16 Aug 2002 10:32:30 -0000 1.90
+++ Make-lang.in 22 Aug 2002 00:48:25 -0000
@@ -330,7 +330,7 @@
# jcf-path.o needs a -D.
java/jcf-path.o: java/jcf-path.c $(CONFIG_H) $(SYSTEM_H) java/jcf.h
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
- -DLIBGCJ_ZIP_FILE='"$(prefix)/share/java/libgcj-$(version).jar"' \
+ -DLIBGCJ_ZIP_FILE='"$(datadir)/java/libgcj-$(version).jar"' \
-DDEFAULT_TARGET_VERSION=\"$(version)\" \
$(srcdir)/java/jcf-path.c $(OUTPUT_OPTION)