# HG changeset patch # User ihse # Date 1537461514 -7200 # Node ID 844cd8887372ee4010a326936b2e30db65580fb7 # Parent 74c67f87fe806ba9c14f8a949824c2c393af5391 8210941: Stop filtering out -xregs=no%appl for libsunec Reviewed-by: erikj diff -r 74c67f87fe80 -r 844cd8887372 make/lib/Lib-jdk.crypto.ec.gmk --- a/make/lib/Lib-jdk.crypto.ec.gmk Thu Sep 20 18:37:25 2018 +0200 +++ b/make/lib/Lib-jdk.crypto.ec.gmk Thu Sep 20 18:38:34 2018 +0200 @@ -28,23 +28,13 @@ ################################################################################ ifeq ($(ENABLE_INTREE_EC), true) - # On sol-sparc...all libraries are compiled with -xregs=no%appl - # (set in CFLAGS_REQUIRED_sparc) except libsunec.so - ifeq ($(OPENJDK_TARGET_CPU_ARCH), sparc) - BUILD_LIBSUNEC_CFLAGS_JDKLIB := $(filter-out -xregs=no%appl, $(CFLAGS_JDKLIB)) - BUILD_LIBSUNEC_CXXFLAGS_JDKLIB := $(filter-out -xregs=no%appl, $(CXXFLAGS_JDKLIB)) - else - BUILD_LIBSUNEC_CFLAGS_JDKLIB := $(CFLAGS_JDKLIB) - BUILD_LIBSUNEC_CXXFLAGS_JDKLIB := $(CXXFLAGS_JDKLIB) - endif - $(eval $(call SetupJdkLibrary, BUILD_LIBSUNEC, \ NAME := sunec, \ TOOLCHAIN := TOOLCHAIN_LINK_CXX, \ OPTIMIZATION := LOW, \ - CFLAGS := $(BUILD_LIBSUNEC_CFLAGS_JDKLIB) \ + CFLAGS := $(CFLAGS_JDKLIB) \ -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B, \ - CXXFLAGS := $(BUILD_LIBSUNEC_CXXFLAGS_JDKLIB), \ + CXXFLAGS := $(CXXFLAGS_JDKLIB), \ DISABLED_WARNINGS_gcc := sign-compare implicit-fallthrough, \ DISABLED_WARNINGS_microsoft := 4101 4244 4146 4018, \ LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK), \