Create build directory before operating on it.
This commit is contained in:
parent
10464f6fe1
commit
702b719bbb
@ -129,6 +129,7 @@ $(call stripsrc,$(CLINGDIR)/%.o): $(CLINGDIR)/%.cpp $(LLVMDEP)
|
||||
$(CXX) $(OPT) $(subst -fno-exceptions,$(CLINGEXCCXXFLAGS),$(CLINGCXXFLAGS)) $(CXXOUT)$@ -c $<
|
||||
|
||||
$(CLINGCOMPDH): FORCE $(LLVMDEP)
|
||||
@mkdir -p $(dir $@)
|
||||
@echo '#define LLVM_CXX "$(CXX) $(OPT) $(CLINGCXXFLAGS)"' > $@_tmp
|
||||
@diff -q $@_tmp $@ > /dev/null 2>&1 || mv $@_tmp $@
|
||||
@rm -f $@_tmp
|
||||
|
Loading…
x
Reference in New Issue
Block a user