diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-09 15:36:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-09 15:37:15 +0000 |
commit | 56dbf827aac92cbee5fa4e609c2a102faaac5860 (patch) | |
tree | 972443a1a8616e1d6b35b6e4d560306d292ed711 /hsqldb/makefile.mk | |
parent | 46ed67999274b0de201bfcf20e099d4ba363a78c (diff) |
turns out that the java-is-gcj hack is a generic java 1.5 problem
Diffstat (limited to 'hsqldb/makefile.mk')
-rwxr-xr-x | hsqldb/makefile.mk | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/hsqldb/makefile.mk b/hsqldb/makefile.mk index 2e9fa8a21af8..26c24a08dcf8 100755 --- a/hsqldb/makefile.mk +++ b/hsqldb/makefile.mk @@ -59,16 +59,19 @@ PATCH_FILES=patches$/i96823.patch \ patches$/i104901.patch \ patches$/jdbc-4.1.patch -.IF "$(JAVACISGCJ)"=="yes" +.IF "$(JAVACISGCJ)"=="yes" || "$(JAVA_SOURCE_VER)"=="1.5" JAVA_HOME= .EXPORT : JAVA_HOME +.ENDIF + +.IF "$(JAVACISGCJ)"=="yes" BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar .ELSE -.IF "$(debug)"!="" -BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.debug="on" -f $(ANT_BUILDFILE) jar -.ELSE BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar .ENDIF + +.IF "$(debug)"!="" +BUILD_ACTION+=-Dbuild.debug="on" .ENDIF .ENDIF # $(SOLAR_JAVA)!= "" |