summaryrefslogtreecommitdiffstats
path: root/sys/boot/ficl
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-09-28 10:02:04 +0000
committerru <ru@FreeBSD.org>2006-09-28 10:02:04 +0000
commit99ad5797cb69ad572667fb6e36c41297dc1bf76a (patch)
tree83718755e8a11349b8ef9b86657789d28a6287e3 /sys/boot/ficl
parent47faa65aa96dca772285092a494687e5300265eb (diff)
downloadFreeBSD-src-99ad5797cb69ad572667fb6e36c41297dc1bf76a.zip
FreeBSD-src-99ad5797cb69ad572667fb6e36c41297dc1bf76a.tar.gz
Add -march=i386 to fix amd64 build by generating the same code
as i386 would do.
Diffstat (limited to 'sys/boot/ficl')
-rw-r--r--sys/boot/ficl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile
index 9bb78da..a1cc45b 100644
--- a/sys/boot/ficl/Makefile
+++ b/sys/boot/ficl/Makefile
@@ -42,7 +42,7 @@ SOFTWORDS= softcore.fr jhlocal.fr marker.fr freebsd.fr ficllocal.fr \
#SOFTWORDS+= oo.fr classes.fr
.if ${MACHINE_ARCH} == "amd64"
-CFLAGS+= -m32 -I.
+CFLAGS+= -m32 -march=i386 -I.
.endif
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/${MACHINE_ARCH:S/amd64/i386/} \
OpenPOWER on IntegriCloud