aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cc/Makefile')
-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 abc987674844..65dc0871f3ee 100644
--- a/gnu/usr.bin/cc/Makefile
+++ b/gnu/usr.bin/cc/Makefile
@@ -12,7 +12,10 @@ SUBDIR+= cpp
.endif
.if ${MK_CXX} != "no"
-SUBDIR+= cc1plus c++ c++filt
+SUBDIR+= cc1plus c++
+.if ${MK_ELFTOOLCHAIN_TOOLS} == "no"
+SUBDIR+= c++filt
+.endif
.endif
.if ${MK_GCOV} != "no"