aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/glibc/common.mk
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-03-12 11:13:07 +0100
committerHans Dedecker <dedeckeh@gmail.com>2018-03-13 18:26:36 +0100
commit3dee117a8a19d3d8dfdf63b63833b1b42175eeb0 (patch)
tree3b833e5b577e0f730b82ae959155a38cf85901fb /toolchain/glibc/common.mk
parent1cd76e2d85d86356868db731a5cacfb84150b2a1 (diff)
downloadupstream-3dee117a8a19d3d8dfdf63b63833b1b42175eeb0.tar.gz
upstream-3dee117a8a19d3d8dfdf63b63833b1b42175eeb0.tar.bz2
upstream-3dee117a8a19d3d8dfdf63b63833b1b42175eeb0.zip
glibc: fix applying of patches
Commit f4d9d7a removed support for version specific patches; but it also broke applying of patches in the patches glibc dir. Fix the issue by setting PATCH_DIR to $(PATH_PREFIX)/patches similar as musl/common.mk. Signed-off-by: Xinxing Hu <xinxing.huchn@gmail.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'toolchain/glibc/common.mk')
-rw-r--r--toolchain/glibc/common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk
index 0ffeef0f6a..090901e27f 100644
--- a/toolchain/glibc/common.mk
+++ b/toolchain/glibc/common.mk
@@ -16,6 +16,7 @@ PKG_HASH:=e54e0a934cd2bc94429be79da5e9385898d2306b9eaf3c92d5a77af96190f6bd
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(PKG_SOURCE_SUBDIR)
CUR_BUILD_DIR:=$(HOST_BUILD_DIR)-$(VARIANT)
+PATCH_DIR:=$(PATH_PREFIX)/patches
include $(INCLUDE_DIR)/toolchain-build.mk