195d8173c7
bug1-bug2-..-bugN-XY-lowercase_comment_suffix_or_jdkpart.patch XY is number 01-99 for patches which are order sensitive or simply counts together where bugs are jdkIJK or prLMN or rhOPQ and if more bugs (which is desired) then in jdk->pr->rh order. I..Q are numbers corresponding to: https://bugs.openjdk.java.net/browse/JDK-IJK https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=LMN https://bugzilla.redhat.com/show_bug.cgi?id=OPQ
21 lines
951 B
Diff
21 lines
951 B
Diff
diff --git openjdk.orig/hotspot/make/linux/makefiles/jsig.make openjdk/hotspot/make/linux/makefiles/jsig.make
|
|
--- openjdk.orig/hotspot/make/linux/makefiles/jsig.make
|
|
+++ openjdk/hotspot/make/linux/makefiles/jsig.make
|
|
@@ -51,10 +51,15 @@ ifeq ($(DEBUG_BINARIES), true)
|
|
JSIG_DEBUG_CFLAGS = -g
|
|
endif
|
|
|
|
+# Optimize jsig lib at level -O3 unless it's a slowdebug build
|
|
+ifneq ($(DEBUG_LEVEL), slowdebug)
|
|
+ JSIG_OPT_FLAGS = $(OPT_CFLAGS)
|
|
+endif
|
|
+
|
|
$(LIBJSIG): $(JSIGSRCDIR)/jsig.c $(LIBJSIG_MAPFILE)
|
|
@echo Making signal interposition lib...
|
|
$(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) $(SHARED_FLAG) $(PICFLAG) \
|
|
- $(LFLAGS_JSIG) $(JSIG_DEBUG_CFLAGS) $(EXTRA_CFLAGS) -o $@ $< -ldl
|
|
+ $(LFLAGS_JSIG) $(JSIG_DEBUG_CFLAGS) $(JSIG_OPT_FLAGS) $(EXTRA_CFLAGS) -o $@ $< -ldl
|
|
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
|
|
$(QUIETLY) $(OBJCOPY) --only-keep-debug $@ $(LIBJSIG_DEBUGINFO)
|
|
ifeq ($(STRIP_POLICY),all_strip)
|