6997210: Solaris 11 has no development support for DGA: Cannot build JDK
Reviewed-by: bae, ohair
This commit is contained in:
parent
8769a48a69
commit
0370a1df6b
@ -42,7 +42,15 @@ ifneq ($(PLATFORM), windows)
|
||||
ifndef OPENJDK
|
||||
ifeq ($(PLATFORM), solaris)
|
||||
ifneq ($(ARCH), amd64)
|
||||
DGA_SUBDIR = jdga
|
||||
# Solaris 11 does not have support for new compilation of DGA code.
|
||||
OS_VERSION = $(shell uname -r)
|
||||
OS_MAJOR_VERSION := $(call MajorVersion,$(OS_VERSION))
|
||||
OS_MINOR_VERSION := $(call MinorVersion,$(OS_VERSION))
|
||||
ifeq ($(shell $(EXPR) $(OS_MAJOR_VERSION) == 5), 1)
|
||||
ifeq ($(shell $(EXPR) $(OS_MINOR_VERSION) \<= 10), 1)
|
||||
DGA_SUBDIR = jdga
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user