diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-07-13 09:12:33 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-07-13 12:13:55 -0400 |
commit | e02d262cd539c3520222ad4e276daacaa7be6d46 (patch) | |
tree | af3d991f125ad024598c8bef4f78b1ae9f1a458d /dhash/Makefile.am | |
parent | ac4a39e731c8fab365a9030aa5244b6875b38ad3 (diff) | |
download | ding-libs2-e02d262cd539c3520222ad4e276daacaa7be6d46.tar.gz ding-libs2-e02d262cd539c3520222ad4e276daacaa7be6d46.tar.xz ding-libs2-e02d262cd539c3520222ad4e276daacaa7be6d46.zip |
Build all SSSD components with warnings enabled
Previously, only the SSSD server components were being built with
compile-time warnings enabled. This patch will ensure that all
components in common and sss_client are also built the same way.
Diffstat (limited to 'dhash/Makefile.am')
-rw-r--r-- | dhash/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dhash/Makefile.am b/dhash/Makefile.am index 9037bf9..b8d5ce6 100644 --- a/dhash/Makefile.am +++ b/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 |