freebsd-dev/sys/boot/efi/Makefile.inc

22 lines
439 B
PHP
Raw Normal View History

# $FreeBSD$
2001-06-16 05:59:45 +00:00
2004-02-12 08:10:34 +00:00
BINDIR?= /boot
.if ${MACHINE_CPUARCH} == "i386"
CFLAGS+= -march=i386
CFLAGS+= -mno-aes
.endif
# Options used when building app-specific efi components
# See conf/kern.mk for the correct set of these
CFLAGS+= -ffreestanding -Wformat -msoft-float ${CFLAGS_NO_SIMD}
2004-02-12 08:10:34 +00:00
LDFLAGS+= -nostdlib
.if ${MACHINE_CPUARCH} == "amd64"
CFLAGS+= -fshort-wchar
CFLAGS+= -mno-red-zone
CFLAGS+= -mno-aes
.endif
.include "../Makefile.inc"