summaryrefslogtreecommitdiff
path: root/jtools/classpath/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-08-06 17:04:28 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-08-06 17:04:28 +0200
commitf0b814dddb1b74c91fd54af412ad356fc68be4a2 (patch)
tree0cb2c6ee2389abe4aa9ad0ad0a2b11c511f9dab9 /jtools/classpath/patches
parent5e64a4a52672248415e73543ec43ebe47f49d3da (diff)
really compile openadk without host java and ant
Diffstat (limited to 'jtools/classpath/patches')
-rw-r--r--jtools/classpath/patches/classpath-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/jtools/classpath/patches/classpath-fix.patch b/jtools/classpath/patches/classpath-fix.patch
new file mode 100644
index 000000000..e03eb2342
--- /dev/null
+++ b/jtools/classpath/patches/classpath-fix.patch
@@ -0,0 +1,12 @@
+diff -Nur classpath-0.98.orig//lib/Makefile.in classpath-0.98/lib/Makefile.in
+--- classpath-0.98.orig//lib/Makefile.in 2009-02-06 02:01:32.000000000 +0100
++++ classpath-0.98/lib/Makefile.in 2011-08-05 22:55:25.965284504 +0200
+@@ -272,7 +272,7 @@
+ uudecode = @uudecode@
+ vm_classes = @vm_classes@
+ JAVA_DEPEND = java.dep
+-compile_classpath = $(vm_classes):$(top_srcdir):$(top_srcdir)/external/w3c_dom:$(top_srcdir)/external/sax:$(top_srcdir)/external/relaxngDatatype:$(top_srcdir)/external/jsr166:.:$(PATH_TO_GLIBJ_ZIP):$(PATH_TO_ESCHER)
++compile_classpath = $(vm_classes) -cp $(top_srcdir) -cp $(top_srcdir)/external/w3c_dom -cp $(top_srcdir)/external/sax -cp $(top_srcdir)/external/relaxngDatatype -cp $(top_srcdir)/external/jsr166 -cp . -cp $(PATH_TO_GLIBJ_ZIP) -cp $(PATH_TO_ESCHER)
+ @GCJ_JAVAC_FALSE@JCOMPILER = $(JAVAC) $(JAVACFLAGS) $(JAVAC_MEM_OPT) -source 1.5 -target 1.5 -bootclasspath '' -classpath $(compile_classpath) -d . @classes
+
+ # handling source to bytecode compiler programs like gcj, jikes and kjc