From a9a33543fb57739f4abde79c13fe3550fb28a73b Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 15 Mar 2025 10:40:10 +0100 Subject: [PATCH] build: pass feat_selinux when building with selinux --- GNUmakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index b30d498ad..e2959f75b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -270,6 +270,7 @@ TEST_SPEC_FEATURE := test_unimplemented else ifeq ($(SELINUX_ENABLED),1) TEST_NO_FAIL_FAST := TEST_SPEC_FEATURE := feat_selinux +BUILD_SPEC_FEATURE := feat_selinux endif define TEST_BUSYBOX @@ -297,7 +298,7 @@ ifneq (${MULTICALL}, y) endif build-coreutils: - ${CARGO} build ${CARGOFLAGS} --features "${EXES}" ${PROFILE_CMD} --no-default-features + ${CARGO} build ${CARGOFLAGS} --features "${EXES} $(BUILD_SPEC_FEATURE)" ${PROFILE_CMD} --no-default-features build: build-coreutils build-pkgs