Commit 77a3ace8 authored by Ed Maste's avatar Ed Maste
Browse files

OptionalObsoleteFiles: move /usr/bin/CC to MK_TOOLCHAIN section

/usr/bin/CC is installed by usr.bin/clang/clang/Makefile, as with
/usr/bin/cc, /usr/bin/cpp, etc., and is not controlled by MK_CXX.
Move it to the same section as those tools.

(It may be that these should all be under
MK_TOOLCHAIN == no || MK_CLANG_IS_CC == no, but that seems like
unnecessary complexity.)

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit f7ea22e2)
parent 1a9aca59
...@@ -1645,7 +1645,6 @@ OLD_DIRS+=usr/include/fs/cuse ...@@ -1645,7 +1645,6 @@ OLD_DIRS+=usr/include/fs/cuse
# devd(8) not listed here on purpose # devd(8) not listed here on purpose
.if ${MK_CXX} == no .if ${MK_CXX} == no
OLD_FILES+=usr/bin/c++ OLD_FILES+=usr/bin/c++
.endif .endif
...@@ -8899,6 +8898,7 @@ OLD_FILES+=usr/share/man/man8/tftpd.8.gz ...@@ -8899,6 +8898,7 @@ OLD_FILES+=usr/share/man/man8/tftpd.8.gz
.endif .endif
.if ${MK_TOOLCHAIN} == no .if ${MK_TOOLCHAIN} == no
OLD_FILES+=usr/bin/addr2line OLD_FILES+=usr/bin/addr2line
OLD_FILES+=usr/bin/as OLD_FILES+=usr/bin/as
OLD_FILES+=usr/bin/byacc OLD_FILES+=usr/bin/byacc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment