aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2013-09-06 20:46:07 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2013-09-06 20:46:07 +0000
commita5bfe4486ca961f23748d34f38d77a3e5d641649 (patch)
treec438881cd58ac236bbb0d51ca1bd5ffe97909387 /tools
parent1a29bd50ff13cf8d9956fddc2cd256e71dab653b (diff)
downloadsrc-a5bfe4486ca961f23748d34f38d77a3e5d641649.tar.gz
src-a5bfe4486ca961f23748d34f38d77a3e5d641649.zip
Don't delete c++filt when doing a make delete-old if GCC is not built but
C++ is.
Notes
Notes: svn path=/head/; revision=255325
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 633ead06974c..097294af0345 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