summaryrefslogtreecommitdiffstats
path: root/stand/efi/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'stand/efi/Makefile.inc')
-rw-r--r--stand/efi/Makefile.inc12
1 files changed, 1 insertions, 11 deletions
diff --git a/stand/efi/Makefile.inc b/stand/efi/Makefile.inc
index 4fd8762..704a77c 100644
--- a/stand/efi/Makefile.inc
+++ b/stand/efi/Makefile.inc
@@ -1,23 +1,13 @@
# $FreeBSD$
-.if ${MACHINE_CPUARCH} == "i386"
-CFLAGS+= -march=i386
-CFLAGS+= -mno-aes
-.endif
-
# Options used when building app-specific efi components
# See conf/kern.mk for the correct set of these
-CFLAGS+= -ffreestanding -Wformat ${CFLAGS_NO_SIMD}
+CFLAGS+= -Wformat
LDFLAGS+= -nostdlib
-.if ${MACHINE_CPUARCH} != "aarch64"
-CFLAGS+= -msoft-float
-.endif
-
.if ${MACHINE_CPUARCH} == "amd64"
CFLAGS+= -fshort-wchar
CFLAGS+= -mno-red-zone
-CFLAGS+= -mno-aes
.endif
.if ${MACHINE_CPUARCH} == "aarch64"
OpenPOWER on IntegriCloud