Skip to content

Commit

Permalink
utils/mdadm: fix build on hosts without /run dir (coolsnowwolf#8651)
Browse files Browse the repository at this point in the history
CHECK_RUN_DIR=0 must be a part of MAKE_FLAGS, not MAKE_VARS, otherwise
it is not possible to compile mdadm on host without /run dir.

Signed-off-by: Sergey V. Lobanov <[email protected]>

Co-authored-by: Sergey V. Lobanov <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Dec 4, 2024
1 parent e2b0891 commit 0c263d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/utils/mdadm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ TARGET_CFLAGS += \

TARGET_LDFLAGS += -Wl,--gc-sections

MAKE_VARS += CHECK_RUN_DIR=0
MAKE_FLAGS += CHECK_RUN_DIR=0

define Build/Compile
$(call Build/Compile/Default,mdadm)
Expand Down

0 comments on commit 0c263d7

Please sign in to comment.