diff options
Diffstat (limited to 'compilerplugins/Makefile-clang.mk')
-rw-r--r-- | compilerplugins/Makefile-clang.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compilerplugins/Makefile-clang.mk b/compilerplugins/Makefile-clang.mk index b6c99019ffe2..688ab4294763 100644 --- a/compilerplugins/Makefile-clang.mk +++ b/compilerplugins/Makefile-clang.mk @@ -35,7 +35,8 @@ compilerplugins: compilerplugins-build CLANGSRC=$(foreach src,$(wildcard $(CLANGINDIR)/*.cxx), $(notdir $(src))) # Remember the sources and if they have changed, force plugin relinking. CLANGSRCCHANGED= \ - $(shell echo $(CLANGSRC) | sort > $(CLANGOUTDIR)/sources-new.txt; \ + $(shell mkdir -p $(CLANGOUTDIR) ; \ + echo $(CLANGSRC) | sort > $(CLANGOUTDIR)/sources-new.txt; \ if diff $(CLANGOUTDIR)/sources.txt $(CLANGOUTDIR)/sources-new.txt >/dev/null 2>/dev/null; then \ echo 0; \ else \ |