Changeset View
Changeset View
Standalone View
Standalone View
head/tools/build/mk/Makefile.boot
Show All 38 Lines | |||||
LIBROKEN:=${WORLDTMP}/legacy/usr/lib/libroken.a | LIBROKEN:=${WORLDTMP}/legacy/usr/lib/libroken.a | ||||
LIBDWARF:=${WORLDTMP}/legacy/usr/lib/libdwarf.a | LIBDWARF:=${WORLDTMP}/legacy/usr/lib/libdwarf.a | ||||
LIBELF:=${WORLDTMP}/legacy/usr/lib/libelf.a | LIBELF:=${WORLDTMP}/legacy/usr/lib/libelf.a | ||||
# Add various -Werror flags to catch missing function declarations | # Add various -Werror flags to catch missing function declarations | ||||
CFLAGS+= -Werror=implicit-function-declaration -Werror=implicit-int \ | CFLAGS+= -Werror=implicit-function-declaration -Werror=implicit-int \ | ||||
-Werror=return-type -Wundef | -Werror=return-type -Wundef | ||||
CFLAGS+= -DHAVE_NBTOOL_CONFIG_H=1 | CFLAGS+= -DHAVE_NBTOOL_CONFIG_H=1 | ||||
CFLAGS+= -D__BSD_VISIBLE=1 | |||||
CFLAGS+= -I${SRCTOP}/tools/build/cross-build/include/common | CFLAGS+= -I${SRCTOP}/tools/build/cross-build/include/common | ||||
# b64_pton and b64_ntop is in libresolv on MacOS and Linux: | # b64_pton and b64_ntop is in libresolv on MacOS and Linux: | ||||
# TODO: only needed for uuencode and uudecode | # TODO: only needed for uuencode and uudecode | ||||
LDADD+=-lresolv | LDADD+=-lresolv | ||||
.if ${.MAKE.OS} == "Linux" | .if ${.MAKE.OS} == "Linux" | ||||
CFLAGS+= -I${SRCTOP}/tools/build/cross-build/include/linux | CFLAGS+= -I${SRCTOP}/tools/build/cross-build/include/linux | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |