You aren't allowed to test WITH_xxx or WITHOUT_xxx here, so remove it.
Even if you were allowed to test for it, the test makes no sense as it always results in adding -DWITH_ATF unless WITH_ATF was already defined. But if MK_ATF != no, then we know it was defined. This, in turn, caused tools/build/options/makemake always think WITH_ATF is the default, which removed control of that from sys.conf.mk. To get the intent of the deleted comment, another mechanism is required, assuming that the intent of that comment is desirable.
This commit is contained in:
parent
f8974fefdb
commit
e8a66c33e4
@ -1561,12 +1561,7 @@ gnu/lib/libsupc++__L: gnu/lib/libstdc++__L
|
||||
|
||||
lib/libgeom__L: lib/libexpat__L
|
||||
|
||||
.if defined(WITH_ATF) || ${MK_TESTS} != "no"
|
||||
.if !defined(WITH_ATF)
|
||||
# Ensure that the ATF libraries will be built during make libraries, even
|
||||
# though they will have WITHOUT_TESTS
|
||||
MAKE+= -DWITH_ATF
|
||||
.endif
|
||||
.if ${MK_TESTS} != "no"
|
||||
_lib_atf= lib/atf
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user