[openwrt/openwrt] utils/mdadm: fix build on hosts without /run dir
LEDE Commits
lede-commits at lists.infradead.org
Fri Jan 7 16:28:39 PST 2022
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/04e6434c62dc8271767f3c675832647477eb9998
commit 04e6434c62dc8271767f3c675832647477eb9998
Author: Sergey V. Lobanov <sergey at lobanov.in>
AuthorDate: Sun Jan 2 22:18:04 2022 +0300
utils/mdadm: fix build on hosts without /run dir
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 at lobanov.in>
---
package/utils/mdadm/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/utils/mdadm/Makefile b/package/utils/mdadm/Makefile
index f20a58b704..f6696bf21c 100644
--- a/package/utils/mdadm/Makefile
+++ b/package/utils/mdadm/Makefile
@@ -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)
More information about the lede-commits
mailing list