From e87fb5ee5a75b03e8b2e128b611a72e08eab3196 Mon Sep 17 00:00:00 2001 From: kaloz Date: Fri, 8 Jun 2007 10:37:20 +0000 Subject: use newer config.guess and config.sub for packages then the shipped ones git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7532 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/host-build.mk | 1 + include/package-defaults.mk | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/host-build.mk b/include/host-build.mk index b5c2a2203d..2950ec7217 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -30,6 +30,7 @@ endef define Build/Configure/Default @(cd $(PKG_BUILD_DIR)/$(3); \ [ -x configure ] && \ + $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/$(3)/ && \ $(2) \ CPPFLAGS="-I$(STAGING_DIR)/host/include" \ LDFLAGS="-L$(STAGING_DIR)/host/lib" \ diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 16d9ae0027..877fff8338 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -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) \ -- cgit v1.2.3