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.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/i386/Makefile.inc b/sys/boot/i386/Makefile.inc
index f165042..0cad7d2 100644
--- a/sys/boot/i386/Makefile.inc
+++ b/sys/boot/i386/Makefile.inc
@@ -11,6 +11,7 @@ LDFLAGS+= -nostdlib
.if ${MACHINE_CPUARCH} == "amd64"
CFLAGS+= -m32 -march=i386
+ACFLAGS+= -m32
LDFLAGS+= -m elf_i386_fbsd
AFLAGS+= --32
.endif
OpenPOWER on IntegriCloud