changeset 9986:48135fa262f8

Manual import of 8142907: Integration of minor fixes from the build-infra project Reviewed-by: erikj, dholmes
author ihse
date Tue, 15 Dec 2015 11:02:49 +0100
parents bfa5e6b04b81
children 3a02484bc9bb
files make/lib/Lib-jdk.hotspot.agent.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/lib/Lib-jdk.hotspot.agent.gmk	Thu Jan 07 22:40:54 2016 +0100
+++ b/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