automake: import upstream fix for perl 5.26
[openwrt/openwrt.git] / tools / patch / Makefile
1 #
2 # Copyright (C) 2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=patch
10 PKG_VERSION:=2.7.5
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
13 PKG_SOURCE_URL:=@GNU/patch
14 PKG_HASH:=fd95153655d6b95567e623843a0e77b81612d502ecf78a489a4aed7867caa299
15
16 HOST_BUILD_PARALLEL := 1
17
18 include $(INCLUDE_DIR)/host-build.mk
19
20 HOSTCC := $(HOSTCC_NOCACHE)
21 HOSTCXX := $(HOSTCXX_NOCACHE)
22
23 $(eval $(call HostBuild))