Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand Use CPUFLAGS for codegen options.



details:   https://anonhg.NetBSD.org/src/rev/4d0cfae818b9
branches:  trunk
changeset: 569808:4d0cfae818b9
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Sep 06 23:41:21 2004 +0000

description:
Use CPUFLAGS for codegen options.

diffstat:

 sys/arch/i386/stand/Makefile.booters |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 3a3d05b8c71b -r 4d0cfae818b9 sys/arch/i386/stand/Makefile.booters
--- a/sys/arch/i386/stand/Makefile.booters      Mon Sep 06 23:32:59 2004 +0000
+++ b/sys/arch/i386/stand/Makefile.booters      Mon Sep 06 23:41:21 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.booters,v 1.57 2004/06/21 18:20:08 jmc Exp $
+#      $NetBSD: Makefile.booters,v 1.58 2004/09/06 23:41:21 thorpej Exp $
 
 .include <bsd.own.mk>
 
@@ -13,12 +13,12 @@
 # Make sure we override any optimization options specified by the
 # user.
 .if ${MACHINE_ARCH} == "x86_64"
-COPTS= -Os -m32
+CPUFLAGS= -m32
 CPPFLAGS+= -DBOOT_ELF64
 .else
-COPTS= -Os -mcpu=i386
+CPUFLAGS= -mcpu=i386
 .endif
-COPTS+= -ffreestanding
+COPTS= -Os -ffreestanding
 
 I386_STAND_DIR?= $S/arch/i386/stand
 



Home | Main Index | Thread Index | Old Index