From 252f1af0f59e6cc0fb542d674c77f61d3f2207ac Mon Sep 17 00:00:00 2001 From: mrg Date: Sat, 1 Jul 2006 06:02:51 +0000 Subject: [PATCH] -std=gnu99 can be applied with GCC>=3, not MACHINE != vax. --- share/mk/bsd.sys.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index eb0d5a4da028..af905b87a0be 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.sys.mk,v 1.133 2006/06/18 14:38:48 gdamore Exp $ +# $NetBSD: bsd.sys.mk,v 1.134 2006/07/01 06:02:51 mrg Exp $ # # Build definitions used for NetBSD source tree builds. @@ -28,7 +28,7 @@ CXXFLAGS+= -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder \ -Wno-deprecated -Wno-non-template-friend \ -Woverloaded-virtual -Wno-pmf-conversions -Wsign-promo -Wsynth .endif -.if ${WARNS} > 3 && ${MACHINE_ARCH} != "vax" +.if ${WARNS} > 3 && ${HAVE_GCC} >= 3 CFLAGS+= -std=gnu99 .endif .endif