]> sigrok.org Git - sigrok-androidutils.git/commitdiff
Makefile.am: Force Java source/target version to 1.6.
authorUwe Hermann <redacted>
Mon, 28 Aug 2017 22:44:26 +0000 (00:44 +0200)
committerUwe Hermann <redacted>
Tue, 29 Aug 2017 15:41:04 +0000 (17:41 +0200)
This fixes bug #752.

Makefile.am

index 36786020ce08e4d6ae700c3463fc5cd850d0575e..83edacf0d7e89ae799923188a8fff7baf6112874 100644 (file)
@@ -51,7 +51,8 @@ SIGROK_CORE_AAR = sigrok-core-android-$(BINDINGS_VERSION).aar
 SIGROK_CORE_POM = sigrok-core-android-$(BINDINGS_VERSION).pom
 
 ANTFLAGS = -Dandroid.sdk=$(ANDROID_SDK) -Dandroid.platform=$(ANDROID_PLATFORM) \
-       -Dprefix=$(prefix) -Dbindings.version=$(BINDINGS_VERSION)
+       -Dprefix=$(prefix) -Dbindings.version=$(BINDINGS_VERSION) \
+       -Dant.build.javac.target=1.6 -Dant.build.javac.source=1.6
 
 EXTRA_DIST = build.xml src ant/src ant/resources