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