This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ecj] gjar is installed, but we don't use it in the build


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]