summaryrefslogtreecommitdiff
path: root/rhino
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2010-09-17 13:53:24 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2010-09-17 13:53:24 +0200
commitf31e60cb3afcb918e1bad4523dd12239ea27caa5 (patch)
tree57712e27dc852ab2961a4354875be774a79db41b /rhino
parentcdc9ec5b0f537f52a4672bb6bd7d54b5f7fca096 (diff)
build-java-target.diff: allow to define java target
i#93115 allow to define java target, so the build is usable with the JVM 1.5 even when it is built with JDK 1.6
Notes
split repo tag: libs-extern_OOO_BUILD_3_2_99_0_PRE
Diffstat (limited to 'rhino')
-rwxr-xr-xrhino/makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhino/makefile.mk b/rhino/makefile.mk
index 008fb0caef2d..9f42ca2c8f83 100755
--- a/rhino/makefile.mk
+++ b/rhino/makefile.mk
@@ -53,7 +53,7 @@ JAVA_HOME=
.EXPORT : JAVA_HOME
BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj jar
.ELSE
-BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" jar
+BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) jar
.ENDIF
# --- Targets ------------------------------------------------------