2 # Copyright (C) 2006-2013 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
13 PKG_SOURCE_URL
:=@GNU
/$(PKG_NAME
)
14 PKG_HASH
:=6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181
17 HOST_BUILD_PARALLEL
:=1
19 HOSTCC
:= $(HOSTCC_NOCACHE
)
20 HOSTCXX
:= $(HOSTCXX_NOCACHE
)
22 include $(INCLUDE_DIR
)/host-build.mk
24 HOST_CONFIGURE_ARGS
+= \
27 --enable-threads
=posix \
31 HOST_CONFIGURE_VARS
+= \
32 ac_cv_search_setfilecon
=no \
33 ac_cv_header_selinux_context_h
=no \
34 ac_cv_header_selinux_selinux_h
=no \
37 +$(MAKE
) $(HOST_JOBS
) -C
$(HOST_BUILD_DIR
) SHELL
="$(BASH)"
41 $(INSTALL_BIN
) $(HOST_BUILD_DIR
)/sed
/sed
$(STAGING_DIR_HOST
)/bin
/
45 rm -f
$(STAGING_DIR_HOST
)/bin
/sed
48 $(eval
$(call HostBuild
))