summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/i386/Makefile.inc')
-rw-r--r--sys/boot/i386/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/Makefile.inc b/sys/boot/i386/Makefile.inc
index c1ec3a2..9b53cc9 100644
--- a/sys/boot/i386/Makefile.inc
+++ b/sys/boot/i386/Makefile.inc
@@ -10,7 +10,7 @@ CFLAGS+= -ffreestanding -mpreferred-stack-boundary=2 \
LDFLAGS+= -nostdlib
.if ${MACHINE_ARCH} == "amd64"
-CFLAGS+= -m32
+CFLAGS+= -m32 -march=i386
LDFLAGS+= -m elf_i386_fbsd
AFLAGS+= --32
.endif
OpenPOWER on IntegriCloud