summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-10 09:32:39 +0000
committerobrien <obrien@FreeBSD.org>2002-05-10 09:32:39 +0000
commitbdc472c2339c8d27986c9d3bc7ba60bf7847c7f3 (patch)
tree12f90e72c9743f8243df128473aee057f4f6df1b /share
parentce04447cdfa298204b0d3e6fe6cc24686c935354 (diff)
downloadFreeBSD-src-bdc472c2339c8d27986c9d3bc7ba60bf7847c7f3.zip
FreeBSD-src-bdc472c2339c8d27986c9d3bc7ba60bf7847c7f3.tar.gz
[Ab]use LDFLAGS rather than CFLAGS.
BDE tells me POSIX pretends `ld' as a directly callable entity does not exist.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.lib.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 667b79a..add06aa 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -225,7 +225,7 @@ ${SHLIB_NAME}: ${SOBJS}
-o ${SHLIB_NAME} \
`lorder ${SOBJS} | tsort -q` ${LDADD}
.else
- @${CC} ${CFLAGS} -shared -Wl,-x \
+ @${CC} ${LDFLAGS} -shared -Wl,-x \
-o ${SHLIB_NAME} -Wl,-soname,${SONAME} \
`lorder ${SOBJS} | tsort -q` ${LDADD}
.endif
OpenPOWER on IntegriCloud