summaryrefslogtreecommitdiff
path: root/usr/src/lib/fm
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/fm')
-rw-r--r--usr/src/lib/fm/topo/modules/Makefile.plugin4
1 files changed, 2 insertions, 2 deletions
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