Module Name: src
Committed By: martin
Date: Sun Mar 8 19:47:17 UTC 2015
Modified Files:
src/sys/arch/i386/stand: Makefile.booters
Log Message:
Compile the booblocks for i386 CPUs, even when the main target architecture
is amd64.
Fixes PR port-i386/49725.
To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/arch/i386/stand/Makefile.booters
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/i386/stand/Makefile.booters
diff -u src/sys/arch/i386/stand/Makefile.booters:1.89 src/sys/arch/i386/stand/Makefile.booters:1.90
--- src/sys/arch/i386/stand/Makefile.booters:1.89 Sun Jan 12 15:26:29 2014
+++ src/sys/arch/i386/stand/Makefile.booters Sun Mar 8 19:47:17 2015
@@ -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