diff options
author | emaste <emaste@FreeBSD.org> | 2016-01-11 04:25:03 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-01-11 04:25:03 +0000 |
commit | f7c85d0c105529afdb11597847e5e439c9d84260 (patch) | |
tree | 4a1c44cca997a298781ebb4b1167fb244cb6916e | |
parent | c41fbaf9bc76f0b7650e448fbd88d0a9815f47fd (diff) | |
download | FreeBSD-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.
-rw-r--r-- | sys/boot/efi/Makefile.inc | 4 |
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 |