diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/host-build.mk | 1 | ||||
-rw-r--r-- | include/package-defaults.mk | 1 |
2 files changed, 2 insertions, 0 deletions
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) \ |