From 99ad5797cb69ad572667fb6e36c41297dc1bf76a Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 28 Sep 2006 10:02:04 +0000 Subject: Add -march=i386 to fix amd64 build by generating the same code as i386 would do. --- sys/boot/ficl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/boot/ficl') 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/} \ -- cgit v1.1