Skip to content

Commit 598bf60

Browse files
authored
Merge pull request #9228 from oech3/build-selinux-simple
GNUmakefile: Remove check for LIBSELINUX_ENABLED
2 parents d0b0e2a + e7beccc commit 598bf60

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

GNUmakefile

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,6 @@ ifeq ($(OS),Windows_NT)
7575
endif
7676
LN ?= ln -sf
7777

78-
ifdef SELINUX_ENABLED
79-
override SELINUX_ENABLED := 0
80-
# Now check if we should enable it (only on non-Windows)
81-
ifneq ($(OS),Windows_NT)
82-
ifeq ($(shell if [ -x /sbin/selinuxenabled ] && /sbin/selinuxenabled 2>/dev/null; then echo 0; else echo 1; fi),0)
83-
override SELINUX_ENABLED := 1
84-
$(info /sbin/selinuxenabled successful)
85-
else
86-
$(info SELINUX_ENABLED=1 but /sbin/selinuxenabled failed)
87-
endif
88-
endif
89-
endif
90-
9178
# Possible programs
9279
PROGS := \
9380
arch \

0 commit comments

Comments
 (0)