summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2005-08-10 18:40:11 +0000
committerTom Tromey <tromey@redhat.com>2005-08-10 18:40:11 +0000
commit1eca51f6c9e1fac2a7bfeb9f11fa27dc6b204fb8 (patch)
tree33692759e26857526f4ad0c6517f66cd5329c795 /lib
parentb97a8c4208c79b5ec34b8ec71af4890afa4634b8 (diff)
downloadclasspath-1eca51f6c9e1fac2a7bfeb9f11fa27dc6b204fb8.tar.gz
* lib/Makefile.am (JAVAC): Use $(SHELL) to invoke
split-for-gcj.sh. For PR classpath/23238.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 2f00fa948..a3978e6e3 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -16,8 +16,9 @@ compile_classpath = $(vm_classes):$(top_srcdir):$(top_srcdir)/external/w3c_dom:$
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