Fix the build: properly detect the BUILD OS version of Java, not the host one.
This matters when building Windows under Linux. Change-Id: I1eaa4eeda4df359313f16d52605a1b8298765269
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
# COMMON_JAVAC -- Java compiler command with common arguments
|
||||
|
||||
# Whatever compiler is on this system.
|
||||
ifeq ($(HOST_OS), windows)
|
||||
ifeq ($(BUILD_OS), windows)
|
||||
COMMON_JAVAC := development/host/windows/prebuilt/javawrap.exe -J-Xmx256m \
|
||||
-target 1.5 -Xmaxerrs 9999999
|
||||
else
|
||||
|
Reference in New Issue
Block a user