changing directory first. Also make sure that we don't attempt to run
config.status if the recheck didn't work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18351
91177308-0d34-0410-b5e6-
96231b3b80d8
.PRECIOUS: $(ConfigStatusScript)
$(ConfigStatusScript): $(ConfigureScript)
$(Echo) Reconfiguring with $<
- $(Verb) $(ConfigStatusScript) --recheck $(ConfigureScriptFLAGS)
- $(Verb) $(ConfigStatusScript)
+ $(Verb) cd $(BUILD_OBJ_ROOT) && \
+ $(ConfigStatusScript) --recheck $(ConfigureScriptFLAGS) && \
+ $(ConfigStatusScript)
#------------------------------------------------------------------------
# Make sure the configuration makefile is up to date