summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 326ee87..ed59126 100644
--- a/Makefile
+++ b/Makefile
@@ -143,6 +143,7 @@ export RELEASE_CFLAGS= -O3 -flto=auto
# $ make config USE_LIBURING=n USE_ONIGURUMA=y
USE_LIBACL ?=
USE_LIBCAP ?=
+USE_LIBSELINUX ?=
USE_LIBURING ?=
USE_ONIGURUMA ?=
@@ -167,6 +168,7 @@ _XLDLIBS := ${LDLIBS}
_XUSE_LIBACL := ${USE_LIBACL}
_XUSE_LIBCAP := ${USE_LIBCAP}
+_XUSE_LIBSELINUX := ${USE_LIBSELINUX}
_XUSE_LIBURING := ${USE_LIBURING}
_XUSE_ONIGURUMA := ${USE_ONIGURUMA}
@@ -197,6 +199,7 @@ export XLDLIBS=${_XLDLIBS}
export XUSE_LIBACL=${_XUSE_LIBACL}
export XUSE_LIBCAP=${_XUSE_LIBCAP}
+export XUSE_LIBSELINUX=${_XUSE_LIBSELINUX}
export XUSE_LIBURING=${_XUSE_LIBURING}
export XUSE_ONIGURUMA=${_XUSE_ONIGURUMA}
@@ -210,6 +213,7 @@ CONFIG := ${GEN}/config.mk
PKGS := \
${GEN}/libacl.mk \
${GEN}/libcap.mk \
+ ${GEN}/libselinux.mk \
${GEN}/liburing.mk \
${GEN}/oniguruma.mk
@@ -478,7 +482,7 @@ distcheck: ${DISTCHECKS}
DISTCHECK_CONFIG_asan := ASAN=y UBSAN=y
DISTCHECK_CONFIG_msan := MSAN=y UBSAN=y CC=clang
DISTCHECK_CONFIG_tsan := TSAN=y UBSAN=y CC=clang
-DISTCHECK_CONFIG_m32 := EXTRA_CFLAGS="-m32" PKG_CONFIG_PATH=/usr/lib32/pkgconfig USE_LIBURING=n
+DISTCHECK_CONFIG_m32 := EXTRA_CFLAGS="-m32" PKG_CONFIG_LIBDIR=/usr/lib32/pkgconfig USE_LIBURING=n
DISTCHECK_CONFIG_release := RELEASE=y
${DISTCHECKS}::