5 --- a/make/lib/Lib-jdk.crypto.ec.gmk.orig 2019-01-08 09:40:29.000000000 +0000
6 +++ b/make/lib/Lib-jdk.crypto.ec.gmk
7 @@ -38,6 +38,12 @@ ifeq ($(ENABLE_INTREE_EC), true)
8 BUILD_LIBSUNEC_CXXFLAGS_JDKLIB := $(CXXFLAGS_JDKLIB)
11 + ifeq ($(OPENJDK_TARGET_OS), solaris)
12 + ifeq ($(TOOLCHAIN_TYPE), gcc)
13 + BUILD_LIBSUNEC_FLAGS += -D__EXTENSIONS__
17 $(eval $(call SetupJdkLibrary, BUILD_LIBSUNEC, \
19 TOOLCHAIN := TOOLCHAIN_LINK_CXX, \