matchpathcon: allow use of deprecated routines

Utility matchpathcon uses the matchpathcon interface which has been
deprectaed. However, this tool will continue to live on, so allow it to
use the deprecated interface.

Signed-off-by: William Roberts <william.c.roberts@intel.com>
This commit is contained in:
William Roberts 2020-04-20 10:30:36 -05:00
parent afd45fe70a
commit 327ec8eb18

View File

@ -56,6 +56,8 @@ sefcontext_compile: LDLIBS += $(PCRE_LDLIBS) ../src/libselinux.a -lsepol
sefcontext_compile: sefcontext_compile.o ../src/regex.o
matchpathcon: CFLAGS += -Wno-deprecated-declarations
all: $(TARGETS)
install: all