summaryrefslogtreecommitdiffstats
path: root/package/dm/dm.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/dm/dm.mk')
-rw-r--r--package/dm/dm.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/dm/dm.mk b/package/dm/dm.mk
index 9936f8b1b..80b8a4442 100644
--- a/package/dm/dm.mk
+++ b/package/dm/dm.mk
@@ -50,8 +50,7 @@ $(DM_DIR)/.unpacked: $(DL_DIR)/$(DM_SOURCE)
$(DM_DIR)/.configured: $(DM_DIR)/.unpacked
(cd $(DM_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
+ $(TARGET_CONFIGURE_ARGS) \
ac_cv_have_decl_malloc=yes \
gl_cv_func_malloc_0_nonnull=yes \
ac_cv_func_malloc_0_nonnull=yes \