aboutsummaryrefslogtreecommitdiff
path: root/Make.Rules
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2016-01-30 15:45:28 -0800
committerAndrew G. Morgan <morgan@kernel.org>2016-01-30 15:45:28 -0800
commit85f38a573fc47472ab792e813b6f6b6f0b1df112 (patch)
treebf1bde2d318bacb6df84c4fed24fc125ae2e471f /Make.Rules
parent0ee94211e95096750ede752acd13b163aa6d5046 (diff)
downloadlibcap-85f38a573fc47472ab792e813b6f6b6f0b1df112.tar.gz
Drop use of libattr for our trivial use case of kernel API.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'Make.Rules')
-rw-r--r--Make.Rules3
1 files changed, 1 insertions, 2 deletions
diff --git a/Make.Rules b/Make.Rules
index 18b7cf7..a768dc6 100644
--- a/Make.Rules
+++ b/Make.Rules
@@ -70,7 +70,6 @@ CFLAGS += -Dlinux $(WARNINGS) $(DEBUG)
PAM_CAP := $(shell if [ -f /usr/include/security/pam_modules.h ]; then echo yes ; else echo no ; fi)
INDENT := $(shell if [ -n "$$(which indent 2>/dev/null)" ]; then echo "| indent -kr" ; fi)
DYNAMIC := $(shell if [ ! -d "$(topdir)/.git" ]; then echo yes; fi)
-LIBATTR := yes
# When installing setcap, set its inheritable bit to be able to place
# capabilities on files. It can be used in conjunction with pam_cap
@@ -80,7 +79,7 @@ LIBATTR := yes
#
# make RAISE_SETFCAP=no install
#
-RAISE_SETFCAP := $(LIBATTR)
+RAISE_SETFCAP := yes
# Global cleanup stuff