summaryrefslogtreecommitdiff
path: root/conf/pam_conv1/Makefile.am
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 /conf/pam_conv1/Makefile.am
parent73118592885eb3554eddb360d5f6ab65ee6e1c03 (diff)
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 'conf/pam_conv1/Makefile.am')
-rw-r--r--conf/pam_conv1/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/pam_conv1/Makefile.am b/conf/pam_conv1/Makefile.am
index 2e643306..4c72162b 100644
--- a/conf/pam_conv1/Makefile.am
+++ b/conf/pam_conv1/Makefile.am
@@ -8,7 +8,9 @@ EXTRA_DIST = README
AM_YFLAGS = -d
-pam_conv1_CFLAGS = -Wno-unused-function -Wno-sign-compare
+AM_CFLAGS = $(WARN_CFLAGS)
+
+pam_conv1_CFLAGS = $(AM_CFLAGS) -Wno-unused-function -Wno-sign-compare
BUILT_SOURCES = pam_conv_y.h