Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions prism/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ endif

# Java flags
JFLAGS += -proc:none # Remove annotation processing warnings due to log4j
JFLAGS += --release 11 # Enforce Java language level

export CFLAGS CXXFLAGS LDFLAGS JFLAGS LIBPREFIX LIBSUFFIX

Expand Down Expand Up @@ -674,10 +675,7 @@ BIN_DIST_INST = $(BIN_DIST_DIR)-installer.exe

# Build a (binary) distribution in the release directory

release: release_config clean_all all binary release_check_version build_release clean_binary

release_config:
$(eval JFLAGS := --release 9 $(JFLAGS))
release: clean_all all binary release_check_version build_release clean_binary

release_check_version:
@if [ "$(VERSION)" = "" ]; then echo "Usage: make release VERSION=4.5"; exit 1; fi
Expand Down