Changeset View
Changeset View
Standalone View
Standalone View
head/stand/liblua/Makefile
Show All 29 Lines | |||||
CFLAGS+= -DLUA_PATH_DEFAULT=\"/boot/lua/\?.lua\" | CFLAGS+= -DLUA_PATH_DEFAULT=\"/boot/lua/\?.lua\" | ||||
CFLAGS+= -ffreestanding -nostdlib -DLUA_USE_POSIX | CFLAGS+= -ffreestanding -nostdlib -DLUA_USE_POSIX | ||||
CFLAGS+= -fno-stack-protector -D__BSD_VISIBLE | CFLAGS+= -fno-stack-protector -D__BSD_VISIBLE | ||||
CFLAGS+= -I${BOOTSRC}/include -I${LIBLUASRC} -I${LUASRC} -I${LDRSRC} | CFLAGS+= -I${BOOTSRC}/include -I${LIBLUASRC} -I${LUASRC} -I${LDRSRC} | ||||
.if ${MACHINE_CPUARCH} == "amd64" && ${DO32:U0} == 0 | .if ${MACHINE_CPUARCH} == "amd64" && ${DO32:U0} == 0 | ||||
CFLAGS+= -fPIC | CFLAGS+= -fPIC | ||||
.endif | .endif | ||||
.if ${MK_LOADER_VERIEXEC} == "yes" | |||||
CFLAGS+= -I${SRCTOP}/lib/libsecureboot/h -DLOADER_VERIEXEC | |||||
.endif | |||||
.include <bsd.lib.mk> | .include <bsd.lib.mk> |