diff options
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.patch | 8 |
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 @@ | |||
1 | From 7dab2995ed8eeccd7b0acd79668bc28f3a2427d5 Mon Sep 17 00:00:00 2001 | 1 | From 7dab2995ed8eeccd7b0acd79668bc28f3a2427d5 Mon Sep 17 00:00:00 2001 |
2 | From: Robert Yang <liezhi.yang@windriver.com> | 2 | From: Robert Yang <liezhi.yang@windriver.com> |
3 | Date: Wed, 16 Sep 2015 19:45:40 -0700 | 3 | Date: Wed, 16 Sep 2015 19:45:40 -0700 |
4 | Subject: [PATCH] dev.mk.in: fix file name too long | 4 | Subject: [PATCH] dev.mk.in: fix file name too long error |
5 | 5 | ||
6 | The all_cppflags change paths to filename which cause file name too long | 6 | The all_cppflags changes path to filename which causes file name too long |
7 | error when the path is longer than NAME_MAX (usually 255). Strip srcdir | 7 | error when the path is longer than NAME_MAX (usually 255). Strip srcdir |
8 | to fix the problem. | 8 | to fix the problem. |
9 | 9 | ||
10 | Upstream-Status: Pending | 10 | Upstream-Status: Backport [https://github.com/ccache/ccache/commit/4d86e884d07ba1853a0c70507cc4d04107f57c29] |
11 | 11 | ||
12 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | 12 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
13 | 13 | ||
@@ -22,7 +22,7 @@ index 91b0a57..583ade0 100644 | |||
22 | @@ -1,7 +1,7 @@ | 22 | @@ -1,7 +1,7 @@ |
23 | # GNU make syntax reigns in this file. | 23 | # GNU make syntax reigns in this file. |
24 | 24 | ||
25 | all_cflags += -Werror | 25 | all_cflags += -Werror @more_warnings@ |
26 | -all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$<)).d | 26 | -all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$<)).d |
27 | +all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$(subst $(srcdir)/,,$<))).d | 27 | +all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$(subst $(srcdir)/,,$<))).d |
28 | 28 | ||