From: Florian Krohm Date: Thu, 1 Jan 2015 18:38:15 +0000 (+0000) Subject: Synch compiler flags with those in valgrind's Makefile.all.am. X-Git-Tag: svn/VALGRIND_3_11_0^2~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7136c7900731de76158e2c00ad3d38c21cec8cf0;p=thirdparty%2Fvalgrind.git Synch compiler flags with those in valgrind's Makefile.all.am. Add -std=gnu99. git-svn-id: svn://svn.valgrind.org/vex/trunk@3051 --- diff --git a/VEX/Makefile-gcc b/VEX/Makefile-gcc index c29d1520a1..eaeb8f55f5 100644 --- a/VEX/Makefile-gcc +++ b/VEX/Makefile-gcc @@ -101,13 +101,12 @@ endif # 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