Merge branch 'vendor/LIBRESSL'
[dragonfly.git] / sys / boot / efi / Makefile.inc
1 # $FreeBSD: head/sys/boot/efi/Makefile.inc 287227 2015-08-27 23:46:42Z imp $
2
3 BINDIR?=        /boot
4
5 # Options used when building app-specific efi components
6 # See conf/kern.mk for the correct set of these
7 CFLAGS+=        -O
8 CFLAGS+=        -ffreestanding -Wformat
9 CFLAGS+=        -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
10 LDFLAGS+=       -nostdlib
11
12 .if ${MACHINE_ARCH} == "x86_64"
13 CFLAGS+=        -fshort-wchar
14 CFLAGS+=        -mno-red-zone
15 CFLAGS+=        -mno-aes
16 .endif