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 72c6395..a256840 100644
--- a/sys/boot/i386/Makefile.inc
+++ b/sys/boot/i386/Makefile.inc
@@ -9,7 +9,7 @@ CFLAGS+= -ffreestanding -mpreferred-stack-boundary=2 \
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
LDFLAGS+= -nostdlib
-.if ${MACHINE_ARCH} == "amd64"
+.if ${MACHINE_CPUARCH} == "amd64"
CFLAGS+= -m32 -march=i386
LDFLAGS+= -m elf_i386_fbsd
AFLAGS+= --32
OpenPOWER on IntegriCloud