Author: theraven
Date: Fri Sep  6 20:46:07 2013
New Revision: 255325
URL: http://svnweb.freebsd.org/changeset/base/255325

Log:
  Don't delete c++filt when doing a make delete-old if GCC is not built but
  C++ is.

Modified:
  head/tools/build/mk/OptionalObsoleteFiles.inc

Modified: head/tools/build/mk/OptionalObsoleteFiles.inc
==============================================================================
--- head/tools/build/mk/OptionalObsoleteFiles.inc       Fri Sep  6 20:42:14 
2013        (r255324)
+++ head/tools/build/mk/OptionalObsoleteFiles.inc       Fri Sep  6 20:46:07 
2013        (r255325)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to