summaryrefslogtreecommitdiff
path: root/modules/pam_rootok/Makefile.am
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-04-26 02:11:50 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-04-26 11:12:59 +0000
commit3edc51e9e1151a54172ec0a7c9660a7d7b1a6b49 (patch)
tree80efc60d8ef61c1f4034fe831c2146bc6e597fc9 /modules/pam_rootok/Makefile.am
parent6e4a7c10ec41d009d8e7afaeb079a18ac3ba1a68 (diff)
build: cleanup: do not add -DWITH_SELINUX to CFLAGS
As WITH_SELINUX is already AC_DEFINE'd in configure.ac, there is no point in adding -DWITH_SELINUX to CFLAGS. * libpam/Makefile.am [HAVE_LIBSELINUX] (AM_CFLAGS): Do not add -DWITH_SELINUX. * modules/pam_rootok/Makefile.am: Likewise. * modules/pam_unix/Makefile.am: Likewise.
Diffstat (limited to 'modules/pam_rootok/Makefile.am')
-rw-r--r--modules/pam_rootok/Makefile.am3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/pam_rootok/Makefile.am b/modules/pam_rootok/Makefile.am
index 06e755c5..2abf239b 100644
--- a/modules/pam_rootok/Makefile.am
+++ b/modules/pam_rootok/Makefile.am
@@ -19,9 +19,6 @@ secureconfdir = $(SCONFIGDIR)
AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \
$(WARN_CFLAGS)
-if HAVE_LIBSELINUX
-AM_CFLAGS += -DWITH_SELINUX
-endif
AM_LDFLAGS = -no-undefined -avoid-version -module
if HAVE_VERSIONING
AM_LDFLAGS += -Wl,--version-script=$(srcdir)/../modules.map