use newer config.guess and config.sub for packages then the shipped ones
[openwrt/svn-archive/archive.git] / include / package-defaults.mk
index 16d9ae0..877fff8 100644 (file)
@@ -77,6 +77,7 @@ CONFIGURE_CMD = ./configure
 define Build/Configure/Default
        (cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH)/$(strip $(3)); \
        if [ -x $(CONFIGURE_CMD) ]; then \
+               $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/$(3)/ && \
                $(CONFIGURE_VARS) \
                $(2) \
                $(CONFIGURE_CMD) \