summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/mk/bsd.sys.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
index 25c7056..9c84f29 100644
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -8,7 +8,7 @@
# for GCC: http://gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX143
-CSTD ?= c99
+CSTD ?=
.if ${CSTD} != ""
. if ${CSTD} == "k&r"
CFLAGS += -traditional
@@ -44,7 +44,7 @@ CFLAGS += -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-al
#. if ${WARNS} > 4
# BDECFLAGS
. if ${WARNS} > 5
-. if defined(CSTD)
+. if ${CSTD} != ""
CFLAGS += -pedantic
. endif
CFLAGS += -Wbad-function-cast -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
OpenPOWER on IntegriCloud