summaryrefslogtreecommitdiffstats
path: root/make/build-staticglgen.xml
diff options
context:
space:
mode:
Diffstat (limited to 'make/build-staticglgen.xml')
-rw-r--r--make/build-staticglgen.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/build-staticglgen.xml b/make/build-staticglgen.xml
index 505129d6d..325b737bb 100644
--- a/make/build-staticglgen.xml
+++ b/make/build-staticglgen.xml
@@ -29,7 +29,7 @@
<mkdir dir="${classes}" />
<!-- Compile BuildStaticGLInfo -->
- <javac srcdir="${src.java}" destdir="${classes}" includes="**/BuildStaticGLInfo.java" source="1.4" debug="true" debuglevel="${javacdebuglevel}"
+ <javac srcdir="${src.java}" destdir="${classes}" includes="**/BuildStaticGLInfo.java" source="${target.sourcelevel}" debug="true" debuglevel="${javacdebuglevel}"
includeAntRuntime="false">
<classpath refid="antlr.classpath" />
</javac>
@@ -50,7 +50,7 @@
<!-- Build the BuildStaticGLInfo ANT task.
- NOTE: ONLY the StaticGLGen is built at this time. BuildStaticGLInfo
- itself is built in a separate task. -->
- <javac destdir="${classes}" includes="**/StaticGLGenTask.java" source="1.4" debug="true" debuglevel="${javacdebuglevel}"
+ <javac destdir="${classes}" includes="**/StaticGLGenTask.java" source="${target.sourcelevel}" debug="true" debuglevel="${javacdebuglevel}"
includeAntRuntime="false">
<src path="${src.java}" />
<classpath refid="classpath" />