aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2019-01-24 14:57:31 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-24 22:06:13 +0000
commitc2e17047b99a0d445dbe91b43d0744bfaa54c580 (patch)
treed09b4426508943c53be871579f07a5220f2c26e4 /meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch
parent02284423b6391c77da19912192fc607fedb05e67 (diff)
downloadopenembedded-core-contrib-c2e17047b99a0d445dbe91b43d0744bfaa54c580.tar.gz
ccache: 3.5 -> 3.6
* Rebased 0002-dev.mk.in-fix-file-name-too-long.patch and sent it to upstream, and got merged. * The LIC_FILES_CHKSUM is changed because of year updated. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch')
-rw-r--r--meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch b/meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch
index 68c2371fb3..16a6e9d80f 100644
--- a/meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch
+++ b/meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch
@@ -1,13 +1,13 @@
From 7dab2995ed8eeccd7b0acd79668bc28f3a2427d5 Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Wed, 16 Sep 2015 19:45:40 -0700
-Subject: [PATCH] dev.mk.in: fix file name too long
+Subject: [PATCH] dev.mk.in: fix file name too long error
-The all_cppflags change paths to filename which cause file name too long
+The all_cppflags changes path to filename which causes file name too long
error when the path is longer than NAME_MAX (usually 255). Strip srcdir
to fix the problem.
-Upstream-Status: Pending
+Upstream-Status: Backport [https://github.com/ccache/ccache/commit/4d86e884d07ba1853a0c70507cc4d04107f57c29]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
@@ -22,7 +22,7 @@ index 91b0a57..583ade0 100644
@@ -1,7 +1,7 @@
# GNU make syntax reigns in this file.
- all_cflags += -Werror
+ all_cflags += -Werror @more_warnings@
-all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$<)).d
+all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$(subst $(srcdir)/,,$<))).d