X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=tools%2Fsed%2FMakefile;h=ddeb6c457f8fc8032ece3c7d517bbdc357f56815;hp=522ae70d8b91c2da07eab208379ecfe4dd7bda56;hb=a3df068b3119585d2c46807a1ff0d66956da954b;hpb=7304953292a00d8e6d00ab19259294ebcb95dd80 diff --git a/tools/sed/Makefile b/tools/sed/Makefile index 522ae70d8b..ddeb6c457f 100644 --- a/tools/sed/Makefile +++ b/tools/sed/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2010 OpenWrt.org +# Copyright (C) 2006-2013 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -7,19 +7,24 @@ include $(TOPDIR)/rules.mk PKG_NAME:=sed -PKG_VERSION:=4.2.1 +PKG_VERSION:=4.7 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNU/$(PKG_NAME) -PKG_MD5SUM:=7d310fbd76e01a01115075c1fd3f455a -PKG_CAT:=bzcat +PKG_HASH:=2885768cd0a29ff8d58a6280a270ff161f6a3deb5690b2be6c49f46d4c67bd6a export SED:= +HOST_BUILD_PARALLEL:=1 + +HOSTCC := $(HOSTCC_NOCACHE) +HOSTCXX := $(HOSTCXX_NOCACHE) + include $(INCLUDE_DIR)/host-build.mk HOST_CONFIGURE_ARGS += \ --disable-acl \ --disable-nls \ + --enable-threads=pth HOST_CONFIGURE_VARS += \ ac_cv_search_setfilecon=no \ @@ -27,7 +32,7 @@ HOST_CONFIGURE_VARS += \ ac_cv_header_selinux_selinux_h=no \ define Host/Compile - $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" LDFLAGS="$(HOST_STATIC_LINKING)" + +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" endef define Host/Install