summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-04-01 14:23:58 +0000
committerimp <imp@FreeBSD.org>2014-04-01 14:23:58 +0000
commit385f24f997c518abe1a90c732c61a9cf535b904b (patch)
treee38654cc78cfac5a4172f854dfcfe0306e1be830 /gnu
parentd527a1257e25c62615765eb163d1ca789dce5e7c (diff)
downloadFreeBSD-src-385f24f997c518abe1a90c732c61a9cf535b904b.zip
FreeBSD-src-385f24f997c518abe1a90c732c61a9cf535b904b.tar.gz
It is possible that MK_GNUCXX is "yes" but MK_CXX is "no" so make sure
MK_CXX isn't "no" before building these libraries.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
index 50797fc..61ea14b 100644
--- a/gnu/lib/Makefile
+++ b/gnu/lib/Makefile
@@ -10,7 +10,7 @@ SUBDIR+= libssp
# libsupc++ uses libstdc++ headers, although 'make includes' should
# have taken care of that already.
-.if ${MK_GNUCXX} != "no"
+.if ${MK_GNUCXX} != "no" && ${MK_CXX} != "no"
SUBDIR+= libstdc++ libsupc++
.endif
OpenPOWER on IntegriCloud