This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] fix bootstrap failure on sparc-solaris
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Java Patches <java-patches at gcc dot gnu dot org>, Paolo Bonzini <bonzini at gnu dot org>
- Date: Wed, 07 Jun 2006 00:06:59 +0200
- Subject: [patch] fix bootstrap failure on sparc-solaris
Hello,
once again, sparc-solaris is not happy with /bin/sh.
I have to launch /bin/ksh (CONFIG_SHELL) to execute a /bin/sh script.
The attached patch makes bootstrap running again on sparc-solaris8|10 at
least.
Is this ok for trunk?
Andreas
2006-06-06 Andreas Tobler <a.tobler@schweiz.ch>
* Makefile.am (libgcj-$(gcc_version).jar): Add SHELL to invoke JAR.
* Makefile.in: Rebuilt.
Index: Makefile.am
===================================================================
--- Makefile.am (revision 114449)
+++ Makefile.am (working copy)
@@ -285,7 +285,7 @@
$(LTGCJCOMPILE) -o $@ -c $< -Wc,--resource,$(@:.lo=)
libgcj-$(gcc_version).jar: classpath/lib/compile-classes
- cd classpath/lib; $(JAR) -cfM \
+ cd classpath/lib; $(SHELL) $(JAR) -cfM \
../../libgcj-$(gcc_version).jar gnu java javax org
CLEANFILES = libgcj-$(gcc_version).jar