X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Fhost-build.mk;h=40af5c87ccfa703d3030603f88a87b1d534744fd;hb=f175e728fb8f4868cddbcbd2363690fd8d11e232;hp=df7d60611ee07fe95cfd497d093c2938f5105344;hpb=9943867fae23547e9eb727ba2f53fa5ae36252be;p=openwrt.git diff --git a/include/host-build.mk b/include/host-build.mk index df7d60611e..40af5c87cc 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -65,6 +65,12 @@ HOST_CONFIGURE_ARGS = \ HOST_CONFIGURE_CMD = ./configure +ifneq ($(HOST_OS),Darwin) + ifeq ($(CONFIG_BUILD_STATIC_TOOLS),y) + HOST_STATIC_LINKING = -static + endif +endif + define Host/Configure/Default (cd $(HOST_BUILD_DIR)/$(3); \ if [ -x configure ]; then \ @@ -113,6 +119,7 @@ define Download/default SUBDIR:=$(PKG_SOURCE_SUBDIR) VERSION:=$(PKG_SOURCE_VERSION) MD5SUM:=$(PKG_MD5SUM) + MIRROR_MD5SUM:=$(PKG_MIRROR_MD5SUM) endef define Host/Exports/Default