summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-05-01 16:37:40 +0000
committeremaste <emaste@FreeBSD.org>2015-05-01 16:37:40 +0000
commitc08c2f33bd67183892d060c2239ad7c87c17f304 (patch)
tree6c7cf1800de2072fbd3c21f39f6ebe4bde2f691f /tools
parent07c921354d48fc801d1426579d443c3f6377f667 (diff)
downloadFreeBSD-src-c08c2f33bd67183892d060c2239ad7c87c17f304.zip
FreeBSD-src-c08c2f33bd67183892d060c2239ad7c87c17f304.tar.gz
OptionalObsoleteFiles: don't remove c++filt when using ELF Tool Chain
c++filt is listed here twice, for MK_CXX == no and MK_GCC == no, but r282285 only caught one of them.
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 1de16c8..ab99fd9 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -1722,7 +1722,9 @@ OLD_FILES+=usr/share/man/man8/unstr.8.gz
.endif
.if ${MK_GCC} == no
+.if ${MK_ELFTOOLCHAIN_TOOLS} == 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