Skip to content

Commit

Permalink
utils/mdadm: fix build on hosts without /run dir
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 <sergey@lobanov.in>
  • Loading branch information
svlobanov authored and hauke committed Jan 7, 2022
1 parent 033b6ce commit 04e6434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/utils/mdadm/Makefile
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 04e6434

Please sign in to comment.