1 $NetBSD: patch-hotspot_make_solaris_makefiles_jsig.make,v 1.4 2019/11/05 22:30:15 jperkin Exp $
5 --- hotspot/make/solaris/makefiles/jsig.make.orig 2019-10-16 01:41:55.000000000 +0000
6 +++ hotspot/make/solaris/makefiles/jsig.make
7 @@ -39,17 +39,27 @@ DEST_JSIG_DIZ = $(JDK_LIBDIR)/$(LI
9 LIBJSIG_MAPFILE = $(MAKEFILES_DIR)/mapfile-vers-jsig
11 +LFLAGS_JSIG += $(CFLAGS)
12 LFLAGS_JSIG += $(MAPFLAG:FILENAME=$(LIBJSIG_MAPFILE))
15 -LFLAGS_JSIG += -D_REENTRANT
16 +LFLAGS_JSIG += -D_GNU_SOURCE -D_REENTRANT
18 LFLAGS_JSIG += -mt -xnolib
21 # Optimize jsig lib unless it's a slowdebug build
22 ifneq ($(DEBUG_LEVEL), slowdebug)
24 JSIG_OPT_FLAGS = -xO4 -g
28 +# DEBUG_BINARIES overrides everything, use full -g debug information
30 + ifeq ($(DEBUG_BINARIES), true)
35 $(LIBJSIG): $(JSIGSRCDIR)/jsig.c $(LIBJSIG_MAPFILE)