5 .if ${MACHINE_CPUARCH} == "i386"
10 # Options used when building app-specific efi components
11 # See conf/kern.mk for the correct set of these
12 CFLAGS+= -ffreestanding -Wformat
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
24 .include "../Makefile.inc"