git: 7cc6e39cb6a9 - stable/13 - Do not build libatf-c++ when WITHOUT_CXX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Nov 2021 15:11:27 UTC
The branch stable/13 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=7cc6e39cb6a934dea99a6aff336b353e938fbc58
commit 7cc6e39cb6a934dea99a6aff336b353e938fbc58
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-10-29 03:01:21 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-11-29 15:10:53 +0000
Do not build libatf-c++ when WITHOUT_CXX
libatf-c++ requires C++ support.
From jrtc27: bit slightly odd this isn't gated by MK_TESTS (which itself
depends on MK_CXX), but this makes sense given the current behaviour.
Reported by: Michael Dexter, Build Option Survey
Reviewed by: imp, jrtc27
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32732
(cherry picked from commit 6ce99625ca7acecaa64723f0440007eb3f60f53d)
---
lib/atf/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/atf/Makefile b/lib/atf/Makefile
index baadf535b424..05c7973fdc02 100644
--- a/lib/atf/Makefile
+++ b/lib/atf/Makefile
@@ -27,8 +27,8 @@
.include <src.opts.mk>
-SUBDIR= libatf-c \
- libatf-c++ \
+SUBDIR= libatf-c
+SUBDIR.${MK_CXX}+= libatf-c++
SUBDIR.${MK_TESTS}+= tests