summaryrefslogtreecommitdiffstats
path: root/make/build-staticglgen.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-09-19 09:20:03 +0200
committerSven Gothel <[email protected]>2013-09-19 09:20:03 +0200
commitb1db882abfe6166abb5f06df8ff2d386e5f8f842 (patch)
tree17e5c0d9ae8659352f3d0e3ecbf1266a2d6747a7 /make/build-staticglgen.xml
parent5822557d00b43ee3655db4343eeefcd417094983 (diff)
Fix Bug 835: Use target.[sourcelevel,targetlevel,rt.jar] for all javac tasks.
Before we bumped java language version to 1.6, i.e. target == 1.5, we required to compile some parts w/ the host level (1.6). This is no more required.
Diffstat (limited to 'make/build-staticglgen.xml')
-rw-r--r--make/build-staticglgen.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/build-staticglgen.xml b/make/build-staticglgen.xml
index 6d1511058..8256fb00e 100644
--- a/make/build-staticglgen.xml
+++ b/make/build-staticglgen.xml
@@ -59,7 +59,9 @@
includeAntRuntime="true"
memoryMaximumSize="${javac.memorymax}"
encoding="UTF-8"
- source="${host.sourcelevel}">
+ source="${target.sourcelevel}"
+ target="${target.targetlevel}"
+ bootclasspath="${target.rt.jar}">
<src path="${src.java}" />
<classpath refid="classpath" />
</javac>