diff options
Diffstat (limited to 'common/collection/Makefile.am')
-rw-r--r-- | common/collection/Makefile.am | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/common/collection/Makefile.am b/common/collection/Makefile.am index fe074904..a802cf01 100644 --- a/common/collection/Makefile.am +++ b/common/collection/Makefile.am @@ -2,7 +2,16 @@ TRACE_LEVEL=@TRACE_VAR@ topdir=$(srcdir)/.. -AM_CPPFLAGS = -Wall -I$(topdir) -I$(topdir)/trace $(TRACE_LEVEL) + +AM_CFLAGS = +if HAVE_GCC + AM_CFLAGS += \ + -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ + -Wcast-align -Wwrite-strings +endif + +AM_CPPFLAGS = -I$(topdir) -I$(topdir)/trace $(TRACE_LEVEL) + ACLOCAL_AMFLAGS = -I m4 # Set up the pkg-config file |