From 93442457e18d8751d293b461708af07c72e4eb33 Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 14 Jun 2003 17:41:59 +0000 Subject: 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(-) (limited to 'share/mk/bsd.sys.mk') diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index f32f980..e966ff8 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 -- cgit v1.1