changeset 14:794f996ef76a

2007-06-14 Kyle Galloway <kgallowa@redhat.com> * javac.in: Add -bootclasspath option to supply libgcj-x.x.x.jar to ecj by default.
author kgallowa@toycar.toronto.redhat.com
date Thu, 14 Jun 2007 14:55:15 -0400
parents 3669e7bbc802
children c007666ad99d
files ChangeLog javac.in
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jun 10 20:59:18 2007 -0400
+++ b/ChangeLog	Thu Jun 14 14:55:15 2007 -0400
@@ -1,3 +1,8 @@
+2007-06-14  Kyle Galloway  <kgallowa@redhat.com>
+
+	* javac.in: Add -bootclasspath option to supply libgcj-x.x.x.jar to
+	ecj by default.
+
 2007-06-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
 
 	* Makefile.am (OPENJDK_URL): Update for b13 bundle.
--- a/javac.in	Sun Jun 10 20:59:18 2007 -0400
+++ b/javac.in	Thu Jun 14 14:55:15 2007 -0400
@@ -1,5 +1,10 @@
 #!/bin/sh
 
+case "$*" in
+  *-bootclasspath*) ;;
+  *) bcoption="-bootclasspath @LIBGCJ_JAR@"
+esac
+
 # Work around ecj's inability to handle duplicate command-line
 # options.
 
@@ -21,4 +26,4 @@
 fi
 
 CLASSPATH=@ECJ_JAR@${CLASSPATH:+:}$CLASSPATH \
-  @JAVA@ org.eclipse.jdt.internal.compiler.batch.Main -1.5 -nowarn $NEW_ARGS
+  @JAVA@ org.eclipse.jdt.internal.compiler.batch.Main -1.5 -nowarn $bcoption $NEW_ARGS