summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/Makefile.inc
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-01-11 04:25:03 +0000
committeremaste <emaste@FreeBSD.org>2016-01-11 04:25:03 +0000
commitf7c85d0c105529afdb11597847e5e439c9d84260 (patch)
tree4a1c44cca997a298781ebb4b1167fb244cb6916e /sys/boot/efi/Makefile.inc
parentc41fbaf9bc76f0b7650e448fbd88d0a9815f47fd (diff)
downloadFreeBSD-src-f7c85d0c105529afdb11597847e5e439c9d84260.zip
FreeBSD-src-f7c85d0c105529afdb11597847e5e439c9d84260.tar.gz
Move -msoft-float compiler flag into x86/i386 cases to fix ia64
Direct commit to stable/10 as ia64 support does not exist in HEAD.
Diffstat (limited to 'sys/boot/efi/Makefile.inc')
-rw-r--r--sys/boot/efi/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/boot/efi/Makefile.inc b/sys/boot/efi/Makefile.inc
index d9474dc..2b5f1ee 100644
--- a/sys/boot/efi/Makefile.inc
+++ b/sys/boot/efi/Makefile.inc
@@ -4,17 +4,19 @@ BINDIR?= /boot
.if ${MACHINE_CPUARCH} == "i386"
CFLAGS+= -march=i386
+CFLAGS+= -msoft-float
.endif
# Options used when building app-specific efi components
# See conf/kern.mk for the correct set of these
-CFLAGS+= -ffreestanding -Wformat -msoft-float
+CFLAGS+= -ffreestanding -Wformat
LDFLAGS+= -nostdlib
.if ${MACHINE_CPUARCH} == "amd64"
CFLAGS+= -fshort-wchar
CFLAGS+= -mno-red-zone
CFLAGS+= -mno-mmx -mno-sse -mno-aes -mno-avx
+CFLAGS+= -msoft-float
.endif
OpenPOWER on IntegriCloud