summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-06-09 11:41:29 +0000
committerdim <dim@FreeBSD.org>2012-06-09 11:41:29 +0000
commite4151259662d0ae15bd86b975f14f8efe5119418 (patch)
treef0ca745887ccedf83a632d4f2f85ce85ecb336ee /share/mk
parent532bbce1be72ff72d65033c98f1fe880c5dd54fc (diff)
downloadFreeBSD-src-e4151259662d0ae15bd86b975f14f8efe5119418.zip
FreeBSD-src-e4151259662d0ae15bd86b975f14f8efe5119418.tar.gz
Amend r227797 by also passing ${STATIC_CXXFLAGS} for the other supported
C++ file extensions. MFC after: 3 days
Diffstat (limited to 'share/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 f5fcd48..efaf9dc 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -74,7 +74,7 @@ PO_FLAG=-pg
${CC} ${PICFLAG} -DPIC ${SHARED_CFLAGS} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
${CTFCONVERT_CMD}
-.cc.o:
+.cc.o .C.o .cpp.o .cxx.o:
${CXX} ${STATIC_CXXFLAGS} ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET}
.cc.po .C.po .cpp.po .cxx.po:
OpenPOWER on IntegriCloud