4424e30878
This makes the EFI loader build work with CPUTYPE=native in make.conf on my Core i5.
13 lines
254 B
Makefile
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"
|