summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r--gnu/usr.bin/cc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/Makefile b/gnu/usr.bin/cc/Makefile
index 67e41d9f378..170ad2f1222 100644
--- a/gnu/usr.bin/cc/Makefile
+++ b/gnu/usr.bin/cc/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD: src/gnu/usr.bin/cc/Makefile,v 1.41.8.1 2009/04/15 03:14:26 kensmith Exp $
-# $OpenBSD: Makefile,v 1.2 2013/05/18 18:18:21 miod Exp $
+# $OpenBSD: Makefile,v 1.3 2017/07/24 19:23:57 robert Exp $
.include <bsd.own.mk>
@@ -8,7 +8,10 @@
SUBDIR= cc_tools libcpp libdecnumber cc_int cc cc1 include doc
+.if ${COMPILER_VERSION:L} == "gcc4"
SUBDIR+= cpp
+.endif
+
SUBDIR+= cc1plus c++ c++filt
SUBDIR+= cc1obj
SUBDIR+= gcov