Changeset View
Changeset View
Standalone View
Standalone View
head/sys/boot/efi/libefi/Makefile
Show All 24 Lines | |||||
# seems to matter on arm64 where wchar_t defaults to an int instead | # seems to matter on arm64 where wchar_t defaults to an int instead | ||||
# of a short. There's no good cast to use here so just ignore the | # of a short. There's no good cast to use here so just ignore the | ||||
# warnings for now. | # warnings for now. | ||||
CWARNFLAGS.efinet.c+= -Wno-format | CWARNFLAGS.efinet.c+= -Wno-format | ||||
CWARNFLAGS.efipart.c+= -Wno-format | CWARNFLAGS.efipart.c+= -Wno-format | ||||
CWARNFLAGS.env.c+= -Wno-format | CWARNFLAGS.env.c+= -Wno-format | ||||
.if ${MACHINE_CPUARCH} == "aarch64" | .if ${MACHINE_CPUARCH} == "aarch64" | ||||
CFLAGS+= -msoft-float -mgeneral-regs-only | CFLAGS+= -mgeneral-regs-only | ||||
.endif | .endif | ||||
.if ${MACHINE_ARCH} == "amd64" | .if ${MACHINE_ARCH} == "amd64" | ||||
CFLAGS+= -fPIC -mno-red-zone | CFLAGS+= -fPIC -mno-red-zone | ||||
.endif | .endif | ||||
CFLAGS+= -I${.CURDIR}/../include | CFLAGS+= -I${.CURDIR}/../include | ||||
CFLAGS+= -I${.CURDIR}/../include/${MACHINE} | CFLAGS+= -I${.CURDIR}/../include/${MACHINE} | ||||
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand | CFLAGS+= -I${.CURDIR}/../../../../lib/libstand | ||||
Show All 12 Lines |