diff options
Diffstat (limited to 'common/dhash/Makefile.am')
-rw-r--r-- | common/dhash/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/common/dhash/Makefile.am b/common/dhash/Makefile.am index 9037bf97..b8d5ce6f 100644 --- a/common/dhash/Makefile.am +++ b/common/dhash/Makefile.am @@ -1,4 +1,10 @@ -AM_CPPFLAGS = -Wall +AM_CFLAGS = +if HAVE_GCC + AM_CFLAGS += \ + -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ + -Wcast-align -Wwrite-strings +endif + ACLOCAL_AMFLAGS = -I m4 pkgconfigdir = $(libdir)/pkgconfig |