Enforce a stricter, wider, cflags set by default

This will ensure that more compilation issues will be detected in future
development, ensuring a clean codebase.

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
This commit is contained in:
Ikey Doherty
2016-07-26 13:15:32 +01:00
committed by Auke Kok
parent 2c7ba9a934
commit 94ce3cb2e3
+7 -4
View File
@@ -3,10 +3,13 @@ SUBDIRS = . tests
ACLOCAL_AMFLAGS=-I m4
AM_CPPFLAGS = -I $(top_srcdir)/src -I $(top_srcdir)/src/interpreters -I $(top_srcdir)/src/datasources
AM_CFLAGS = -std=gnu99 -fstack-protector -Wall -pedantic \
-Wstrict-prototypes -Wundef -fno-common \
-Wformat -Wformat-security \
-Wconversion -Wunused-variable -Wunreachable-code
AM_CFLAGS = \
-fstack-protector -Wall -pedantic \
-Wstrict-prototypes -Wundef -fno-common \
-Werror-implicit-function-declaration \
-Wformat -Wformat-security -Werror=format-security \
-Wconversion -Wunused-variable -Wunreachable-code \
-Wall -W -std=gnu99
EXTRA_DIST = \
LICENSE \