From 7e2a6a4aa1ce1a3c6603e923cf92cc279fde1972 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Tue, 14 Jun 2022 21:55:56 +0200 Subject: [PATCH] Update variables --- build_tools/build_detect_platform | 2 +- java/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build_tools/build_detect_platform b/build_tools/build_detect_platform index c7f9261d8..3198de575 100755 --- a/build_tools/build_detect_platform +++ b/build_tools/build_detect_platform @@ -269,7 +269,7 @@ esac PLATFORM_CXXFLAGS="$PLATFORM_CXXFLAGS ${CXXFLAGS}" JAVA_LDFLAGS="$PLATFORM_LDFLAGS" JAVA_STATIC_LDFLAGS="$PLATFORM_LDFLAGS" -JAVAC_ARGS="-source 8" +JAVAC_ARGS="-source 11" if [ "$CROSS_COMPILE" = "true" -o "$FBCODE_BUILD" = "true" ]; then # Cross-compiling; do not try any compilation tests. diff --git a/java/Makefile b/java/Makefile index b76414aaf..2e0ad7766 100644 --- a/java/Makefile +++ b/java/Makefile @@ -285,7 +285,7 @@ JAVAC_VERSION_GE_MIN := $(shell [ $(JAVAC_MAJOR_VERSION) -ge $(MIN_JAVAC_MAJOR_V # Set the default JAVA_ARGS to "" for DEBUG_LEVEL=0 JAVA_ARGS ?= -JAVAC_ARGS ?= -release $(MIN_JAVAC_MAJOR_VERSION) +JAVAC_ARGS ?= -source $(MIN_JAVAC_MAJOR_VERSION) # Read plugin configuration PLUGIN_PATH = ../plugin