]> CyberLeo.Net >> Repos - FreeBSD/releng/10.3.git/blob - sys/boot/efi/Makefile.inc
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
[FreeBSD/releng/10.3.git] / sys / boot / efi / Makefile.inc
1 # $FreeBSD$
2
3 BINDIR?=        /boot
4
5 .if ${MACHINE_CPUARCH} == "i386"
6 CFLAGS+=        -march=i386
7 CFLAGS+=        -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
12 CFLAGS+=        -ffreestanding -Wformat
13 LDFLAGS+=       -nostdlib
14
15 .if ${MACHINE_CPUARCH} == "amd64"
16 CFLAGS+=        -fshort-wchar
17 CFLAGS+=        -mno-red-zone
18 CFLAGS+=        -mno-mmx -mno-sse
19 CFLAGS.clang+=  -mno-aes -mno-avx
20 CFLAGS+=        -msoft-float
21 .endif
22
23
24 .include "../Makefile.inc"