summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2013-09-06 20:46:07 +0000
committertheraven <theraven@FreeBSD.org>2013-09-06 20:46:07 +0000
commit00e0402a54a176a819172cd81836420ae9946eeb (patch)
treec438881cd58ac236bbb0d51ca1bd5ffe97909387 /tools
parenteee637eb83c22cf3154458055af8575829e1239e (diff)
downloadFreeBSD-src-00e0402a54a176a819172cd81836420ae9946eeb.zip
FreeBSD-src-00e0402a54a176a819172cd81836420ae9946eeb.tar.gz
Don't delete c++filt when doing a make delete-old if GCC is not built but
C++ is.
Diffstat (limited to 'tools')
-rw-r--r--tools/build/mk/OptionalObsoleteFiles.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 633ead0..097294a 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -1546,7 +1546,9 @@ OLD_FILES+=usr/share/man/man8/unstr.8.gz
.endif
.if ${MK_GCC} == no
+.if ${MK_CXX} == no
OLD_FILES+=usr/bin/c++filt
+.endif
OLD_FILES+=usr/bin/g++
OLD_FILES+=usr/bin/gcc
OLD_FILES+=usr/bin/gcov
OpenPOWER on IntegriCloud