Add support for host32 for DIRDEPS_BUILD

Allow building 32bit libs for host.

Move CFLAGS additions from local.sys.dirdeps.mk (which is too early
and impacts CFLAGS defaults) to local.sys.mk

Reviewed by:	stevek
Sponsored by:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D41946
This commit is contained in:
Simon J. Gerraty
2023-09-22 23:27:37 -07:00
parent bb124a0f61
commit f9df609750
10 changed files with 71 additions and 27 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ BROKEN_OPTIONS+= OFED
.endif
# MK_host_egacy is set by local.sys.mk so is valid here
.if ${MACHINE} == "host" && ${MK_host_egacy} == "yes"
.if ${MACHINE:Nhost*} == "" && ${MK_host_egacy} == "yes"
# we cannot expect tests to work
BROKEN_OPTIONS+= TESTS
.endif