- pass TARGET_CONFIGURE_ARGS
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 22 Aug 2007 16:02:22 +0000 (16:02 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 22 Aug 2007 16:02:22 +0000 (16:02 -0000)
package/Makefile.autotools.in

index 0e6e544b268e1d4a4787cc43de6c118a022839f1..61b5fd16ba75cce96c9495eb972173c3efaad03f 100644 (file)
@@ -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) \