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.
Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- dev.mk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev.mk.in b/dev.mk.in index cf6e17c..be0d501 100644 --- a/dev.mk.in +++ b/dev.mk.in @@ -1,7 +1,7 @@ # GNU make syntax reigns in this file. 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 A2X = a2x ASCIIDOC = asciidoc -- 2.7.4 _______________________________________________ ccache mailing list ccache@lists.samba.org https://lists.samba.org/mailman/listinfo/ccache