From f4ab1bba2792a20dc2400495a24aba3dd0e1962b Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 23 Mar 2016 21:43:33 +0000 Subject: [PATCH] -O0 for pass1.c and vax --- sbin/fsck_ffs/Makefile | 5 ++++- sbin/fsdb/Makefile | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/sbin/fsck_ffs/Makefile b/sbin/fsck_ffs/Makefile index 7001fd5c3b9c..aaf5a908dd96 100644 --- a/sbin/fsck_ffs/Makefile +++ b/sbin/fsck_ffs/Makefile @@ -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 .include @@ -35,6 +35,9 @@ COPTS.ffs_appleufs.c+= -Wno-pointer-sign .if ${MACHINE_ARCH} == "m68000" COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs .endif +.if ${MACHINE_ARCH} == "vax" +COPTS.pass1.c+= -O0 +.endif SUBDIR+=SMM.doc diff --git a/sbin/fsdb/Makefile b/sbin/fsdb/Makefile index ce58efb76731..1beba519a4a2 100644 --- a/sbin/fsdb/Makefile +++ b/sbin/fsdb/Makefile @@ -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 .include @@ -39,4 +39,8 @@ COPTS.${f}.c+= -Wno-pointer-sign COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs .endif +.if ${MACHINE_ARCH} == "vax" +COPTS.pass1.c+= -O0 +.endif + .include