Skip to content

Commit a9a3354

Browse files
committed
build: pass feat_selinux when building with selinux
1 parent 72ad89d commit a9a3354

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GNUmakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ TEST_SPEC_FEATURE := test_unimplemented
270270
else ifeq ($(SELINUX_ENABLED),1)
271271
TEST_NO_FAIL_FAST :=
272272
TEST_SPEC_FEATURE := feat_selinux
273+
BUILD_SPEC_FEATURE := feat_selinux
273274
endif
274275

275276
define TEST_BUSYBOX
@@ -297,7 +298,7 @@ ifneq (${MULTICALL}, y)
297298
endif
298299

299300
build-coreutils:
300-
${CARGO} build ${CARGOFLAGS} --features "${EXES}" ${PROFILE_CMD} --no-default-features
301+
${CARGO} build ${CARGOFLAGS} --features "${EXES} $(BUILD_SPEC_FEATURE)" ${PROFILE_CMD} --no-default-features
301302

302303
build: build-coreutils build-pkgs
303304

0 commit comments

Comments
 (0)