summaryrefslogtreecommitdiffstats
path: root/package/nano
diff options
context:
space:
mode:
Diffstat (limited to 'package/nano')
-rw-r--r--package/nano/nano.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/nano/nano.mk b/package/nano/nano.mk
index 98eab7c86..17fdddd85 100644
--- a/package/nano/nano.mk
+++ b/package/nano/nano.mk
@@ -23,8 +23,7 @@ $(NANO_DIR)/.unpacked: $(DL_DIR)/$(NANO_SOURCE)
$(NANO_DIR)/.configured: $(NANO_DIR)/.unpacked
(cd $(NANO_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
+ $(TARGET_CONFIGURE_ARGS) \
ac_cv_header_regex_h=no \
./configure \
--target=$(GNU_TARGET_NAME) \