Makefile.am: invoke javac with source/target 1.6
Fixes: ``` error: Source option 5 is no longer supported. Use 6 or later. error: Target option 1.5 is no longer supported. Use 1.6 or later. ```
This commit is contained in:
parent
626329a1cc
commit
bc14a6038e
@ -330,7 +330,7 @@ android/build/gen/org/musicpd/R.java: android/build/resources.apk
|
|||||||
|
|
||||||
android/build/classes.dex: $(JAVA_SOURCE_PATHS) android/build/gen/org/musicpd/R.java
|
android/build/classes.dex: $(JAVA_SOURCE_PATHS) android/build/gen/org/musicpd/R.java
|
||||||
@$(MKDIR_P) $(JAVA_CLASSFILES_DIR)
|
@$(MKDIR_P) $(JAVA_CLASSFILES_DIR)
|
||||||
$(JAVAC) -source 1.5 -target 1.5 -Xlint:-options \
|
$(JAVAC) -source 1.6 -target 1.6 -Xlint:-options \
|
||||||
-cp $(ANDROID_SDK_PLATFORM_DIR)/android.jar:$(JAVA_CLASSFILES_DIR) \
|
-cp $(ANDROID_SDK_PLATFORM_DIR)/android.jar:$(JAVA_CLASSFILES_DIR) \
|
||||||
-d $(JAVA_CLASSFILES_DIR) $^
|
-d $(JAVA_CLASSFILES_DIR) $^
|
||||||
$(DX) --dex --output $@ $(JAVA_CLASSFILES_DIR)
|
$(DX) --dex --output $@ $(JAVA_CLASSFILES_DIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user