Skip to content

Commit 5917a6c

Browse files
committed
make: when BUILD_SPEC_FEATURE is set, pass it to the job
1 parent a9a3354 commit 5917a6c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

GNUmakefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,12 @@ use_default := 1
294294

295295
build-pkgs:
296296
ifneq (${MULTICALL}, y)
297+
ifdef BUILD_SPEC_FEATURE
298+
${CARGO} build ${CARGOFLAGS} --features "$(BUILD_SPEC_FEATURE)" ${PROFILE_CMD} $(foreach pkg,$(EXES),-p uu_$(pkg))
299+
else
297300
${CARGO} build ${CARGOFLAGS} ${PROFILE_CMD} $(foreach pkg,$(EXES),-p uu_$(pkg))
298301
endif
302+
endif
299303

300304
build-coreutils:
301305
${CARGO} build ${CARGOFLAGS} --features "${EXES} $(BUILD_SPEC_FEATURE)" ${PROFILE_CMD} --no-default-features

0 commit comments

Comments
 (0)