Add -std=gnu99.
git-svn-id: svn://svn.valgrind.org/vex/trunk@3051
# Put -g -O2 after any flags we inherit from V. -O2 vs -O
# makes a significant difference, at least with gcc4.
-CCFLAGS = -Wall -Wmissing-prototypes -Wshadow \
+CCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow \
-Wpointer-arith -Wbad-function-cast -Wcast-qual \
-Wcast-align -Wmissing-declarations \
- -Wno-pointer-sign \
- $(EXTRA_CFLAGS) -g -O2 -fstrict-aliasing \
- \
- -O
+ -Wwrite-strings -Wformat -Wformat-security \
+ -std=gnu99 \
+ $(EXTRA_CFLAGS) -g -O2 -fstrict-aliasing
#CC = icc
#CCFLAGS = -g -Wall -wd981 -wd279 -wd1287 -wd869 -wd111 -wd188 -wd186