diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2017-06-22 15:06:58 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2017-06-28 10:27:28 +0200 |
commit | 3029b659e89caa79b6860c3bbe8cbc18b53af678 (patch) | |
tree | 022a68ccef109294ef30b6dcb976974c1cac1239 /Makefile.am | |
parent | 9eae3063e62df1ca47213027ad42fff6d0a9b7f4 (diff) |
Enable compiler warnings
This patch borrows the compiler.m4 script from util-linux to check
for compiler support of a number of warning flags and sets them if
they are supported.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 4c123f2..e9c1608 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ ACLOCAL_AMFLAGS = -I m4 -AM_CPPFLAGS = -D_GNU_SOURCE -I$(top_srcdir)/include +AM_CPPFLAGS = $(WARN_CFLAGS) -D_GNU_SOURCE -std=gnu99 -I$(top_srcdir)/include if WITHOUT_XATTR AM_CPPFLAGS += -DWITHOUT_XATTR |