git: c3f345ae3c0f - main - OptionalObsoleteFiles.inc: remove MK_CXX rule for usr/bin/c++
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Dec 2021 02:45:39 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=c3f345ae3c0fac0684f83cff72ae23da18468777
commit c3f345ae3c0fac0684f83cff72ae23da18468777
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-12-01 21:49:16 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-12-02 02:42:48 +0000
OptionalObsoleteFiles.inc: remove MK_CXX rule for usr/bin/c++
In fact MK_CXX does not control whether /usr/bin/c++ is built -- it is
installed as a link to Clang (which is always a C/C++ compiler), and it
already exists in OptionalObsoleteFiles under MK_TOOLCHAIN.
Sponsored by: The FreeBSD Foundation
---
tools/build/mk/OptionalObsoleteFiles.inc | 5 -----
1 file changed, 5 deletions(-)
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 4082492f0fe7..e6b1b1909771 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -1640,11 +1640,6 @@ OLD_FILES+=usr/share/man/man3/cuse_wait_and_process.3.gz
OLD_DIRS+=usr/include/fs/cuse
.endif
-# devd(8) not listed here on purpose
-.if ${MK_CXX} == no
-OLD_FILES+=usr/bin/c++
-.endif
-
.if ${MK_DEBUG_FILES} == no
.if exists(${DESTDIR}/usr/lib/debug)
DEBUG_DIRS!=find ${DESTDIR}/usr/lib/debug -mindepth 1 \