Makefile.inc revision 293649
1# $FreeBSD: stable/10/sys/boot/efi/Makefile.inc 293649 2016-01-11 00:43:50Z emaste $ 2 3BINDIR?= /boot 4 5.if ${MACHINE_CPUARCH} == "i386" 6CFLAGS+= -march=i386 7.endif 8 9# Options used when building app-specific efi components 10# See conf/kern.mk for the correct set of these 11CFLAGS+= -ffreestanding -Wformat -msoft-float 12LDFLAGS+= -nostdlib 13 14.if ${MACHINE_CPUARCH} == "amd64" 15CFLAGS+= -fshort-wchar 16CFLAGS+= -mno-red-zone 17CFLAGS+= -mno-mmx -mno-sse -mno-aes -mno-avx 18.endif 19 20 21.include "../Makefile.inc" 22