Skip to content

Commit 64b6b27

Browse files
Select javac source target from make variables
1 parent 01325ea commit 64b6b27

File tree

5 files changed

+1
-1
lines changed

5 files changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ build/$(CONVERTER_JAR): $(CONVERTER_SOURCES) $(RESOURCES)
208208
$(RM) -r build/converter
209209

210210
%.class: %.java
211-
$(JAVAC) -source 7 -target 7 -Xlint:-options -g:none $^
211+
$(JAVAC) -source $(JAVA_TARGET) -target $(JAVA_TARGET) -Xlint:-options -g:none $^
212212

213213
build/test/cpptests: $(CPP_TEST_SOURCES) $(CPP_TEST_HEADER) $(SOURCES) $(HEADERS) $(RESOURCES) $(JAVA_HELPER_CLASSES)
214214
mkdir -p build/test
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)