-O0 for pass1.c and vax

This commit is contained in:
christos 2016-03-23 21:43:33 +00:00
parent da1b6972c1
commit f4ab1bba27
2 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.45 2014/07/05 19:22:03 dholland Exp $ # $NetBSD: Makefile,v 1.46 2016/03/23 21:43:33 christos Exp $
# @(#)Makefile 8.2 (Berkeley) 4/27/95 # @(#)Makefile 8.2 (Berkeley) 4/27/95
.include <bsd.own.mk> .include <bsd.own.mk>
@ -35,6 +35,9 @@ COPTS.ffs_appleufs.c+= -Wno-pointer-sign
.if ${MACHINE_ARCH} == "m68000" .if ${MACHINE_ARCH} == "m68000"
COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs
.endif .endif
.if ${MACHINE_ARCH} == "vax"
COPTS.pass1.c+= -O0
.endif
SUBDIR+=SMM.doc SUBDIR+=SMM.doc

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.37 2015/04/15 19:13:47 mrg Exp $ # $NetBSD: Makefile,v 1.38 2016/03/23 21:43:33 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93 # @(#)Makefile 8.1 (Berkeley) 6/5/93
.include <bsd.own.mk> .include <bsd.own.mk>
@ -39,4 +39,8 @@ COPTS.${f}.c+= -Wno-pointer-sign
COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs
.endif .endif
.if ${MACHINE_ARCH} == "vax"
COPTS.pass1.c+= -O0
.endif
.include <bsd.prog.mk> .include <bsd.prog.mk>