Deleted Added
full compact
Makefile.inc (286967) Makefile.inc (287227)
1# $FreeBSD: head/sys/boot/efi/Makefile.inc 286967 2015-08-20 18:31:05Z imp $
1# $FreeBSD: head/sys/boot/efi/Makefile.inc 287227 2015-08-27 23:46:42Z imp $
2
3BINDIR?= /boot
4
5.if ${MACHINE_CPUARCH} == "i386"
6CFLAGS+= -march=i386
2
3BINDIR?= /boot
4
5.if ${MACHINE_CPUARCH} == "i386"
6CFLAGS+= -march=i386
7CFLAGS+= -mno-aes
7.endif
8
9# Options used when building app-specific efi components
10# See conf/kern.mk for the correct set of these
8.endif
9
10# Options used when building app-specific efi components
11# See conf/kern.mk for the correct set of these
11CFLAGS+= -ffreestanding -Wformat -msoft-float
12CFLAGS+= -ffreestanding -Wformat -msoft-float ${CFLAGS_NO_SIMD}
12LDFLAGS+= -nostdlib
13
14.if ${MACHINE_CPUARCH} == "amd64"
15CFLAGS+= -fshort-wchar
16CFLAGS+= -mno-red-zone
13LDFLAGS+= -nostdlib
14
15.if ${MACHINE_CPUARCH} == "amd64"
16CFLAGS+= -fshort-wchar
17CFLAGS+= -mno-red-zone
17CFLAGS+= -mno-mmx -mno-sse
18CFLAGS.clang+= -mno-aes -mno-avx
18CFLAGS+= -mno-aes
19.endif
20
19.endif
20
21
22.include "../Makefile.inc"
21.include "../Makefile.inc"