summaryrefslogtreecommitdiff
path: root/usr/src/lib/fm
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2018-02-11 18:58:28 +0000
committerRichard Lowe <richlowe@richlowe.net>2020-10-13 13:51:13 -0400
commit85f4cb87104c72587029a6e0f1663332c85ba118 (patch)
tree5ebef4ca549bc6422ac6b0627c440e7a7fbab167 /usr/src/lib/fm
parent0a36db39c3cd88f4799ecd9db875f43d834d0a81 (diff)
downloadillumos-gate-85f4cb87104c72587029a6e0f1663332c85ba118.tar.gz
13184 Stop translating ld(1) options through cw(1)
Reviewed by: Jason King <jason.brian.king+illumos@gmail.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
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