libreoffice/solenv-java-source-version.diff

14 lines
588 B
Diff

Index: solenv/gbuild/JavaClassSet.mk
===================================================================
--- solenv/gbuild/JavaClassSet.mk.orig
+++ solenv/gbuild/JavaClassSet.mk
@@ -47,6 +47,8 @@ $(call gb_Helper_abbreviate_dirs,\
$(if $(3),$(gb_JavaClassSet_JAVACCOMMAND) \
$(gb_JavaClassSet_JAVACDEBUG) \
$(gb_JavaClassSet_XBOOTCLASSPATH) \
+ -source $(JAVA_SOURCE_VER) \
+ -target $(JAVA_TARGET_VER) \
-Xbootclasspath/p:$(XBOOT_CP_P) \
-cp "$(T_CP)$(gb_CLASSPATHSEP)$(call gb_JavaClassSet_get_classdir,$(2))" \
-d $(call gb_JavaClassSet_get_classdir,$(2)) \