Skip to content

Commit

Permalink
Do not try to descend into optional build directories if they do not
Browse files Browse the repository at this point in the history
exist.  This makes the build logic symmetric for both the in tree and
out of tree cases.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126070 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Stephen Wilson committed Feb 20, 2011
1 parent 00d78f1 commit c156632
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,9 @@ $(RecursiveTargets)::
else
$(RecursiveTargets)::
$(Verb) for dir in $(OPTIONAL_DIRS); do \
($(MAKE) -C$$dir $@ ) || exit 1; \
if [ -d $(PROJ_SRC_DIR)/$$dir ]; then\
($(MAKE) -C$$dir $@ ) || exit 1; \
fi \
done
endif
endif
Expand Down

0 comments on commit c156632

Please sign in to comment.