summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/cc1plus
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cc/cc1plus')
-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 964d20f..dd3d524 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.
OpenPOWER on IntegriCloud