2f0cb2fea7
Remove patches included upstream - JDK-8211387/PR3559 - JDK-8207057/PR3613 - JDK-8165852/PR3468 - JDK-8073139/PR1758/RH1191652 - JDK-8044235 - JDK-8172850/RH1640127 - JDK-8209639/RH1640127 - JDK-8131048/PR3574/RH1498936 - JDK-8164920/PR3574/RH1498936 Re-generate patches - JDK-8210647/RH1632174
24 lines
978 B
Diff
24 lines
978 B
Diff
diff --git openjdk.orig/hotspot/make/linux/makefiles/saproc.make openjdk/hotspot/make/linux/makefiles/saproc.make
|
|
--- openjdk.orig/hotspot/make/linux/makefiles/saproc.make
|
|
+++ openjdk/hotspot/make/linux/makefiles/saproc.make
|
|
@@ -59,6 +59,11 @@
|
|
SA_DEBUG_CFLAGS = -g
|
|
endif
|
|
|
|
+# Optimize saproc lib at level -O3 unless it's a slowdebug build
|
|
+ifneq ($(DEBUG_LEVEL), slowdebug)
|
|
+ SA_OPT_FLAGS = $(OPT_CFLAGS)
|
|
+endif
|
|
+
|
|
# if $(AGENT_DIR) does not exist, we don't build SA
|
|
# also, we don't build SA on Itanium or zero.
|
|
|
|
@@ -95,6 +100,7 @@
|
|
$(SASRCFILES) \
|
|
$(SA_LFLAGS) \
|
|
$(SA_DEBUG_CFLAGS) \
|
|
+ $(SA_OPT_FLAGS) \
|
|
$(EXTRA_CFLAGS) \
|
|
-o $@ \
|
|
-lthread_db -ldl
|