aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-18 11:27:49 +0000
committerRoy Marples <roy@marples.name>2008-01-18 11:27:49 +0000
commitb6be36e5ea31b39834f24645f16b763fd6cee825 (patch)
tree4183f90defe17d598e311ac0d17062dabb31fcae /mk
parent1d21c6b77441ccb05a49ece70f6711e53c2e7a41 (diff)
Don't enforce a C99 compiler.
Diffstat (limited to 'mk')
-rw-r--r--mk/cc.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/mk/cc.mk b/mk/cc.mk
index 18eae7ee..225b1104 100644
--- a/mk/cc.mk
+++ b/mk/cc.mk
@@ -3,7 +3,6 @@
# Setup some good default CFLAGS
CFLAGS?= -O2 -pipe
-CSTD?= c99
# GNU Make way of detecting gcc flags we can use
check_gcc=$(shell if ${CC} $(1) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \
@@ -16,7 +15,7 @@ WEXTRA!= for x in -Wdeclaration-after-statement -Wsequence-point -Wextra; do \
done
# Loads of nice flags to ensure our code is good
-CFLAGS+= -pedantic -std=${CSTD} \
+CFLAGS+= -pedantic \
-Wall -Wunused -Wimplicit -Wshadow -Wformat=2 \
-Wmissing-declarations -Wno-missing-prototypes -Wwrite-strings \
-Wbad-function-cast -Wnested-externs -Wcomment -Winline \