aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/cc1plus/Makefile
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2012-04-29 09:32:44 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2012-04-29 09:32:44 +0000
commit4f20e4f263ff1bcae1c70d1cb42095a2c56d70a8 (patch)
tree61e9ad3e4db471d181914e2e1ed149f7f3a67676 /gnu/usr.bin/cc/cc1plus/Makefile
parent3c2ded8bbc7726ecf72cf5d41d0b2aa39fd1da14 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/cc/cc1plus/Makefile')
-rw-r--r--gnu/usr.bin/cc/cc1plus/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/cc1plus/Makefile b/gnu/usr.bin/cc/cc1plus/Makefile
index 964d20fd46d1..dd3d524e4b15 100644
--- a/gnu/usr.bin/cc/cc1plus/Makefile
+++ b/gnu/usr.bin/cc/cc1plus/Makefile
@@ -1,6 +1,8 @@
# $FreeBSD$
.include "../Makefile.inc"
+NO_MAN=
+.include <bsd.own.mk>
.PATH: ${GCCDIR}/cp ${GCCDIR}
@@ -13,8 +15,9 @@ SRCS+= main.c cp-lang.c c-opts.c call.c class.c cvt.c cxx-pretty-print.c \
cp-objcp-common.c cp-gimplify.c tree-mudflap.c
BINDIR= /usr/libexec
-NO_MAN=
+.if ${MK_SHARED_TOOLCHAIN} == "no"
NO_SHARED?=yes
+.endif
CFLAGS+= -I${GCCDIR}/cp -I.