summaryrefslogtreecommitdiff
path: root/package/flex
diff options
context:
space:
mode:
Diffstat (limited to 'package/flex')
-rw-r--r--package/flex/flex.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/flex/flex.mk b/package/flex/flex.mk
index 5c3fc7332..882ee5847 100644
--- a/package/flex/flex.mk
+++ b/package/flex/flex.mk
@@ -35,8 +35,7 @@ endif
$(FLEX_DIR)/.configured: $(FLEX_DIR)/.unpacked
(cd $(FLEX_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
+ $(TARGET_CONFIGURE_ARGS) \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \