7c727c6fa4
Expat release 2.2.2 requires support for either syscall(SYS_getrandom) which is available on Linux 3.17 or support for getrandom() which is only available in glibc 2.25 or later. Since some of our builders still run on Linux 3.16, we need to forcibly disable the use of getrandom() for the host builds. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
29 lines
595 B
Makefile
29 lines
595 B
Makefile
#
|
|
# Copyright (C) 2006-2014 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=expat
|
|
PKG_VERSION:=2.2.2
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
PKG_HASH:=4376911fcf81a23ebd821bbabc26fd933f3ac74833f74924342c29aad2c86046
|
|
PKG_SOURCE_URL:=@SF/expat
|
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
HOST_CONFIGURE_VARS += \
|
|
CPPFLAGS="$(HOST_CFLAGS) -DXML_POOR_ENTROPY"
|
|
|
|
define Host/Install
|
|
$(MAKE) -C $(HOST_BUILD_DIR) install
|
|
endef
|
|
|
|
$(eval $(call HostBuild))
|