Compile the bootblocks for i386 CPUs, even when the main target architecture

is amd64.
Fixes PR port-i386/49725.
This commit is contained in:
martin 2015-03-08 19:47:17 +00:00
parent 7f0c84f4d5
commit 3f4cb665b2
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.booters,v 1.89 2014/01/12 15:26:29 tsutsui Exp $
# $NetBSD: Makefile.booters,v 1.90 2015/03/08 19:47:17 martin Exp $
.include <bsd.own.mk>
@ -14,7 +14,7 @@ LIBC= # nothing
# Make sure we override any optimization options specified by the
# user.
.if ${MACHINE_ARCH} == "x86_64"
CPUFLAGS= -m32
CPUFLAGS= -m32 -march=i386 -mtune=i386
.else
CPUFLAGS= -march=i386 -mtune=i386
.endif