This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [ecj] gjar is installed, but we don't use it in the build
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: 13 Dec 2006 10:27:46 -0700
- Subject: Re: [ecj] gjar is installed, but we don't use it in the build
- References: <17791.57066.21115.493824@zebedee.pink>
- Reply-to: tromey at redhat dot com
Andrew> Weirdly, overriding JAR from the command line does not seem to work:
Try the appended.
Andrew> IMO this should be a merge blocker.
I suppose we could look for $(bindir)/gjar and use it if it exists.
This worries me a bit since I can't think of any other place in the
build system where we look at the new install tree for a tool.
Or are you asking for a simpler change, where configure uses 'gjar' if
it exists? That would be completely unobjectionable to me.
Tom
Index: Makefile.am
===================================================================
--- Makefile.am (revision 119805)
+++ Makefile.am (working copy)
@@ -1057,7 +1057,8 @@
"NM=$(NM)" \
"PICFLAG=$(PICFLAG)" \
"RANLIB=$(RANLIB)" \
- "DESTDIR=$(DESTDIR)"
+ "DESTDIR=$(DESTDIR)" \
+ "JAR=$(JAR)"
# Subdir rules rely on $(FLAGS_TO_PASS)
FLAGS_TO_PASS = $(AM_MAKEFLAGS)