Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 1 | From 71bd0082c6edcf73f054a8a4fa34bd8dd4de7cd7 Mon Sep 17 00:00:00 2001 |
| 2 | From: Robert Yang <liezhi.yang@windriver.com> |
| 3 | Date: Wed, 16 Sep 2015 19:45:40 -0700 |
| 4 | Subject: [PATCH] dev.mk.in: fix file name too long |
| 5 | |
| 6 | The all_cppflags change paths to filename which cause file name too long |
| 7 | error when the path is longer than NAME_MAX (usually 255). Strip srcdir |
| 8 | to fix the problem. |
| 9 | |
| 10 | Upstream-Status: Pending |
| 11 | |
| 12 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
| 13 | --- |
| 14 | dev.mk.in | 2 +- |
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 16 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 17 | Index: ccache-3.3.4/dev.mk.in |
| 18 | =================================================================== |
| 19 | --- ccache-3.3.4.orig/dev.mk.in |
| 20 | +++ ccache-3.3.4/dev.mk.in |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 21 | @@ -1,7 +1,7 @@ |
| 22 | # GNU make syntax reigns in this file. |
| 23 | |
| 24 | all_cflags += -Werror |
| 25 | -all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$<)).d |
| 26 | +all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$(subst $(srcdir)/,,$<))).d |
| 27 | |
| 28 | ASCIIDOC = asciidoc |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 29 | CPPCHECK = cppcheck |