summaryrefslogtreecommitdiff
path: root/modules/pam_tally/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_tally/Makefile.am')
-rw-r--r--modules/pam_tally/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/pam_tally/Makefile.am b/modules/pam_tally/Makefile.am
index 53d0c0a1..21135aeb 100644
--- a/modules/pam_tally/Makefile.am
+++ b/modules/pam_tally/Makefile.am
@@ -17,7 +17,8 @@ secureconfdir = $(SCONFIGDIR)
noinst_HEADERS = faillog.h
-AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include
+AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \
+ $(WARN_CFLAGS)
pam_tally_la_LDFLAGS = -no-undefined -avoid-version -module
pam_tally_la_LIBADD = $(top_builddir)/libpam/libpam.la