mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
f9df609750
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
19 lines
380 B
Makefile
19 lines
380 B
Makefile
# We want to build some host tools (eg makefs, mkimg) for Linux
|
|
# This only gets included during DIRDEPS_BUILD when MACHINE is "host"
|
|
# or "host32"
|
|
|
|
CFLAGS+= -I${SRCTOP}/tools/build/cross-build/include/linux
|
|
|
|
WARNS= 0
|
|
|
|
.ifdef PROG
|
|
LOCAL_LIBRARIES+= bsd egacy
|
|
LIBADD+= egacy m
|
|
.endif
|
|
|
|
# Bring in the full GNU namespace
|
|
CFLAGS+= -D_GNU_SOURCE
|
|
|
|
# for sane staging behavior
|
|
LN= ln -L
|