From 85f4cb87104c72587029a6e0f1663332c85ba118 Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Sun, 11 Feb 2018 18:58:28 +0000 Subject: 13184 Stop translating ld(1) options through cw(1) Reviewed by: Jason King Reviewed by: Igor Kozhukhov Approved by: Robert Mustacchi --- usr/src/lib/fm/topo/modules/Makefile.plugin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/src/lib/fm') diff --git a/usr/src/lib/fm/topo/modules/Makefile.plugin b/usr/src/lib/fm/topo/modules/Makefile.plugin index a1827911a5..c42c02da80 100644 --- a/usr/src/lib/fm/topo/modules/Makefile.plugin +++ b/usr/src/lib/fm/topo/modules/Makefile.plugin @@ -63,11 +63,11 @@ MAPFILES = # use APIMAP instead CSTD = $(CSTD_GNU99) CFLAGS += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS) -CFLAGS += -G $(XREGSFLAG) +CFLAGS += $(GSHARED) $(XREGSFLAG) CPPFLAGS += -I. CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -LDFLAGS += $(ZIGNORE) -M$(APIMAP) +LDFLAGS += $(ZIGNORE) -Wl,-M$(APIMAP) LDLIBS += -L$(ROOTLIBDIR)/fm -ltopo -lnvpair -lc DYNFLAGS += -R/usr/lib/fm -- cgit v1.2.3