forked from openkylin/platform_build
Merge "Fix for Java 8 toolchain builds"
This commit is contained in:
commit
9d14d317c8
|
@ -179,7 +179,7 @@ javac_version_str := $(shell unset _JAVA_OPTIONS && javac -version 2>&1)
|
|||
ifneq ($(EXPERIMENTAL_USE_JAVA8),)
|
||||
required_version := "1.8.x"
|
||||
required_javac_version := "1.8"
|
||||
java_version := $(shell echo '$(java_version_str)' | grep 'openjdk .*[ "]1\.8[\. "$$]')
|
||||
java_version := $(shell echo '$(java_version_str)' | grep '[ "]1\.8[\. "$$]')
|
||||
javac_version := $(shell echo '$(javac_version_str)' | grep '[ "]1\.8[\. "$$]')
|
||||
else # default
|
||||
required_version := "1.7.x"
|
||||
|
|
Loading…
Reference in New Issue