8142907: Integration of minor fixes from the build-infra project
authorihse
Tue, 15 Dec 2015 11:02:49 +0100
changeset 34610 0d0012bed22c
parent 34572 4edcff1b9a88
child 34677 cfc6dff3775d
8142907: Integration of minor fixes from the build-infra project Reviewed-by: erikj, dholmes
hotspot/make/lib/Lib-jdk.hotspot.agent.gmk
--- a/hotspot/make/lib/Lib-jdk.hotspot.agent.gmk	Wed Jul 05 21:07:43 2017 +0200
+++ b/hotspot/make/lib/Lib-jdk.hotspot.agent.gmk	Tue Dec 15 11:02:49 2015 +0100
@@ -71,7 +71,7 @@
       -DSOLARIS_11_B159_OR_LATER
   SA_CFLAGS := $(CFLAGS_JDKLIB) $(COMMON_CFLAGS)
   SA_CXXFLAGS := $(CXXFLAGS_JDKLIB) $(COMMON_CFLAGS)
-  SA_LDFLAGS := $(subst -z defs,, $(LDFLAGS_JDKLIB)) \
+  SA_LDFLAGS := $(subst -Wl$(COMMA)-z$(COMMA)defs,, $(LDFLAGS_JDKLIB)) \
       -mt $(LDFLAGS_CXX_JDK)
   SA_LIBS := -ldl -ldemangle -lthread -lc