aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2021-10-29 01:43:33 +0000
committerEd Maste <emaste@FreeBSD.org>2021-11-29 15:10:53 +0000
commit8bb7b159b5b892ab8bf597203690434309691860 (patch)
tree000716e14e7b3d3c1205391fa832437d44e4c762
parent8f02234dbd1d578740b08afb4a0d6b877432adc9 (diff)
downloadsrc-8bb7b159b5b892ab8bf597203690434309691860.tar.gz
src-8bb7b159b5b892ab8bf597203690434309691860.zip
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 (cherry picked from commit 0e1c864898c1803835b1be0d59342ca761051db8)
-rw-r--r--share/mk/src.opts.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 9c1138a446ca..d692b7efe58b 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -395,6 +395,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