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 6ce99625ca
)
This commit is contained in:
parent
8bb7b159b5
commit
7cc6e39cb6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user