git: 0e1c864898c1 - main - src.opts.mk: Add WITHOUT_CXX dependencies
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Oct 2021 14:10:32 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=0e1c864898c1803835b1be0d59342ca761051db8
commit 0e1c864898c1803835b1be0d59342ca761051db8
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-10-29 01:43:33 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-10-29 14:06:27 +0000
src.opts.mk: Add WITHOUT_CXX dependencies
OFED, OPENMP, and PMC depend on C++ support. Force them off when
building WITHOUT_CXX.
Reported by: Michael Dexter, Build Option Survey
Reviewed by: imp, jrtc27
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32730
---
share/mk/src.opts.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 3d8f7b071904..4b9a9953f8ee 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -393,6 +393,9 @@ MK_KERBEROS_SUPPORT:= no
.if ${MK_CXX} == "no"
MK_CLANG:= no
MK_GOOGLETEST:= no
+MK_OFED:= no
+MK_OPENMP:= no
+MK_PMC:= no
MK_TESTS:= no
.endif