summaryrefslogtreecommitdiff
path: root/package/module-init-tools/module-init-tools.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/module-init-tools/module-init-tools.mk')
-rw-r--r--package/module-init-tools/module-init-tools.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/module-init-tools/module-init-tools.mk b/package/module-init-tools/module-init-tools.mk
index 93fe48eb3..a14de6044 100644
--- a/package/module-init-tools/module-init-tools.mk
+++ b/package/module-init-tools/module-init-tools.mk
@@ -25,6 +25,8 @@ $(MODULE_INIT_TOOLS_DIR)/.unpacked: $(DL_DIR)/$(MODULE_INIT_TOOLS_SOURCE)
$(MODULE_INIT_TOOLS_DIR)/.configured: $(MODULE_INIT_TOOLS_DIR)/.unpacked
(cd $(MODULE_INIT_TOOLS_DIR); \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
INSTALL=$(MODULE_INIT_TOOLS_DIR)/install-sh \
./configure \
--target=$(GNU_TARGET_NAME) \