From 139c58b300ccdf707da89dfebfb73a2931c166f4 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 14 Jun 2003 17:41:59 +0000 Subject: [PATCH] Put on the core hat and back out all of the CSTD= changes. Core will deal with working with the parties to define a coherent definition for CSTD that doesn't break things. Core hat seconded by: markm --- share/mk/bsd.sys.mk | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index f32f980ff32e..e966ff8f502a 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -9,20 +9,6 @@ # for GCC: http://gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX143 .if !defined(NO_WARNS) -. if defined(CSTD) -. if ${CSTD} == "k&r" -CFLAGS += -traditional -. elif ${CSTD} == "c89" || ${CSTD} == "c90" -CFLAGS += -std=iso9899:1990 -. elif ${CSTD} == "c94" || ${CSTD} == "c95" -CFLAGS += -std=iso9899:199409 -. elif ${CSTD} == "c99" -CFLAGS += -std=iso9899:1999 -. else -CFLAGS += -std=${CSTD} -. endif -CFLAGS += -pedantic -. endif . if defined(WARNS) . if ${WARNS} > 0 CFLAGS += -Wsystem-headers