aboutsummaryrefslogtreecommitdiff
path: root/libpam_misc
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@fedoraproject.org>2019-12-18 13:55:23 +0100
committerTomas Mraz <tmraz@fedoraproject.org>2019-12-18 13:59:44 +0100
commit1781f0165c6f83601088f47681a05956ad9c21e1 (patch)
treefca2caff5fac43bad7f657f81c7a2a1b3df2ab62 /libpam_misc
parent73118592885eb3554eddb360d5f6ab65ee6e1c03 (diff)
downloadpam-1781f0165c6f83601088f47681a05956ad9c21e1.tar.gz
pam-1781f0165c6f83601088f47681a05956ad9c21e1.tar.bz2
pam-1781f0165c6f83601088f47681a05956ad9c21e1.zip
Do not use CFLAGS for warning flags set from configure
To be able to set CFLAGS from make command-line but not to lose the warning flags. * configure.ac: Put warning flags to WARN_CFLAGS instead of CFLAGS. * */Makefile.am: Apply WARN_CFLAGS to AM_CFLAGS.
Diffstat (limited to 'libpam_misc')
-rw-r--r--libpam_misc/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpam_misc/Makefile.am b/libpam_misc/Makefile.am
index d58bfa4b..a4900bd9 100644
--- a/libpam_misc/Makefile.am
+++ b/libpam_misc/Makefile.am
@@ -9,7 +9,7 @@ EXTRA_DIST = libpam_misc.map
include_HEADERS = include/security/pam_misc.h
AM_CFLAGS = -I$(top_srcdir)/libpam/include \
- -I$(top_srcdir)/libpamc/include -I$(srcdir)/include
+ -I$(top_srcdir)/libpamc/include -I$(srcdir)/include $(WARN_CFLAGS)
libpam_misc_la_LDFLAGS = -no-undefined -version-info 82:1:82
if HAVE_VERSIONING