Makefile.inc revision 293654
1# $FreeBSD: stable/10/sys/boot/efi/Makefile.inc 293654 2016-01-11 04:25:03Z 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 -mno-aes -mno-avx
19CFLAGS+=	-msoft-float
20.endif
21
22
23.include "../Makefile.inc"
24