summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.lib.mk
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1996-01-21 17:26:25 +0000
committerjdp <jdp@FreeBSD.org>1996-01-21 17:26:25 +0000
commit2216580a1645073753d1bf61258f7d499ee6f187 (patch)
tree5971a7d06948b13297f6b00fa5f5506a7f2686b3 /share/mk/bsd.lib.mk
parent859c177be5724fd77b5c08b0f0c5baf010dfa673 (diff)
downloadFreeBSD-src-2216580a1645073753d1bf61258f7d499ee6f187.zip
FreeBSD-src-2216580a1645073753d1bf61258f7d499ee6f187.tar.gz
Back out my previous change, which caused c++rt0.o to be linked into
every shared library, until I can diagnose the problems it is causing for certain programs such as awk and groff.
Diffstat (limited to 'share/mk/bsd.lib.mk')
-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 1545c99..a5e9336 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -187,7 +187,7 @@ LDDESTDIR?= -L${DESTDIR}/usr/lib
.endif
.if !defined(NOPIC)
-.if !make(clean) && !make(cleandir)
+.if defined(CPLUSPLUSLIB) && !make(clean) && !make(cleandir)
SOBJS+= ${DESTDIR}/usr/lib/c++rt0.o
.endif
OpenPOWER on IntegriCloud