freebsd-dev/sys/boot/amd64/Makefile.inc
Nathan Whitehorn 4424e30878 Turn off various fancy instruction sets, as well as deduplicate some options.
This makes the EFI loader build work with CPUTYPE=native in make.conf on
my Core i5.
2014-04-28 18:25:21 +00:00

13 lines
254 B
Makefile

# Common defines for all of /sys/boot/amd64/
#
# $FreeBSD$
BINDIR?= /boot
# See conf/kern.mk for the correct set of these
CFLAGS+= -ffreestanding
CFLAGS+= -mno-mmx -mno-sse -mno-aes -mno-avx -msoft-float
LDFLAGS+= -nostdlib
.include "../Makefile.inc"