diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2019-12-18 13:55:23 +0100 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2019-12-18 13:59:44 +0100 |
commit | 1781f0165c6f83601088f47681a05956ad9c21e1 (patch) | |
tree | fca2caff5fac43bad7f657f81c7a2a1b3df2ab62 /libpam/Makefile.am | |
parent | 73118592885eb3554eddb360d5f6ab65ee6e1c03 (diff) | |
download | pam-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/Makefile.am')
-rw-r--r-- | libpam/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpam/Makefile.am b/libpam/Makefile.am index ba57b98e..d9f9e041 100644 --- a/libpam/Makefile.am +++ b/libpam/Makefile.am @@ -4,7 +4,8 @@ AM_CFLAGS = -DDEFAULT_MODULE_PATH=\"$(SECUREDIR)/\" -DLIBPAM_COMPILE \ -I$(srcdir)/include $(LIBPRELUDE_CFLAGS) $(ECONF_CFLAGS) \ - -DPAM_VERSION=\"$(VERSION)\" -DSYSCONFDIR=\"$(sysconfdir)\" + -DPAM_VERSION=\"$(VERSION)\" -DSYSCONFDIR=\"$(sysconfdir)\" \ + $(WARN_CFLAGS) if HAVE_LIBSELINUX AM_CFLAGS += -D"WITH_SELINUX" endif |