]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/boot/efi/Makefile.inc
Merge ACPICA 20150619.
[FreeBSD/FreeBSD.git] / sys / boot / efi / Makefile.inc
1 # $FreeBSD$
2
3 BINDIR?=        /boot
4
5 .if ${MACHINE_CPUARCH} == "i386"
6 CFLAGS+=        -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
11 CFLAGS+=        -ffreestanding -Wformat -msoft-float
12 LDFLAGS+=       -nostdlib
13
14 .if ${MACHINE_CPUARCH} == "amd64"
15 CFLAGS+=        -fshort-wchar
16 CFLAGS+=        -mno-red-zone
17 CFLAGS+=        -mno-mmx -mno-sse -mno-aes -mno-avx
18 .endif
19
20
21 .include "../Makefile.inc"