classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Patch: FYI: use SHELL to invoke split-for-gcj.sh


From: Tom Tromey
Subject: [cp-patches] Patch: FYI: use SHELL to invoke split-for-gcj.sh
Date: 10 Aug 2005 12:36:16 -0600

I'm checking this in.

It is more idiomatic to use $(SHELL) to invoke split-for-gcj.sh.  This
PR is actually fixed by a different patch that removes unportable
constructs from split-for-gcj.sh; I'll check that one in shortly.

Tom

Index: ChangeLog
from  Tom Tromey  <address@hidden>
        * lib/Makefile.am (JAVAC): Use $(SHELL) to invoke
        split-for-gcj.sh.  For PR classpath/23238.

Index: lib/Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/lib/Makefile.am,v
retrieving revision 1.95
diff -u -r1.95 Makefile.am
--- lib/Makefile.am 24 Jul 2005 15:11:16 -0000 1.95
+++ lib/Makefile.am 10 Aug 2005 18:38:58 -0000
@@ -16,8 +16,9 @@
 if FOUND_GCJ
 # Since we don't feed all classes at once gcj needs to know where to find
 # the generated classes (in top_builddir).
-JAVAC = $(srcdir)/split-for-gcj.sh && $(MAKE) -f $(srcdir)/Makefile.gcj \
-    GCJ='$(GCJ)' compile_classpath='$(top_builddir):$(compile_classpath)'
+JAVAC = $(SHELL) $(srcdir)/split-for-gcj.sh \
+    && $(MAKE) -f $(srcdir)/Makefile.gcj \
+         GCJ='$(GCJ)' compile_classpath='$(top_builddir):$(compile_classpath)'
 else
 if FOUND_JIKES
 JAVAC = $(JIKES) +Pno-shadow +Pno-switchcheck +F $(JIKESENCODING) 
-bootclasspath '' -extdirs '' -sourcepath '' --classpath $(compile_classpath) 
-d . @classes




reply via email to

[Prev in Thread] Current Thread [Next in Thread]