summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/Makefile.autotools.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in
index 0e6e544b2..61b5fd16b 100644
--- a/package/Makefile.autotools.in
+++ b/package/Makefile.autotools.in
@@ -181,10 +181,8 @@ $(BUILD_DIR)/%/.stamp_configured:
cd $(@D)/$($(PKG)_SUBDIR) && \
rm -f config.cache && \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- CXXFLAGS="$(TARGET_CXXFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
- $($(PKG)_CONF_ENV) \
+ $(TARGET_CONFIGURE_ARGS) \
+ $($(PKG)_CONF_ENV) \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \