]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/efi/Makefile.inc
Upgrade Unbound to 1.6.0. More to follow.
[FreeBSD/FreeBSD.git] / stand / efi / Makefile.inc
1 # $FreeBSD$
2
3 # Options used when building app-specific efi components
4 # See conf/kern.mk for the correct set of these
5 CFLAGS+=        -Wformat
6 LDFLAGS+=       -nostdlib
7
8 .if ${MACHINE_CPUARCH} == "amd64"
9 CFLAGS+=        -fshort-wchar
10 CFLAGS+=        -mno-red-zone
11 .endif
12
13 .if ${MACHINE_CPUARCH} == "aarch64"
14 CFLAGS+=        -fshort-wchar
15 CFLAGS+=        -fPIC
16 .endif
17
18 .if ${MACHINE_CPUARCH} == "arm"
19 CFLAGS+=        -fPIC
20 .endif
21
22 .include "../Makefile.inc"