Use CPUFLAGS for codegen options.
This commit is contained in:
parent
7caf846e65
commit
9946bbdb7a
@ -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 @@ LIBC= # nothing
|
||||
# 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user