mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 02:48:48 +00:00
fix for infinitely looping windows gmake depend builds, code from cls, r=leaf, a=roc
This commit is contained in:
parent
4f99429abb
commit
d3bd643b18
@ -1492,7 +1492,7 @@ ifndef MOZ_AUTO_DEPS
|
||||
define MAKE_DEPS_NOAUTO
|
||||
set -e ; \
|
||||
touch $@ && \
|
||||
$(MKDEPEND) -o'.$(OBJ_SUFFIX)' -f$@ $(DEFINES) $(ACDEFINES) $(INCLUDES) $< >/dev/null 2>&1 && \
|
||||
$(MKDEPEND) -w1024 -o'.$(OBJ_SUFFIX)' -f$@ $(DEFINES) $(ACDEFINES) $(INCLUDES) $< >/dev/null 2>&1 && \
|
||||
mv $@ $@.old && cat $@.old | sed "s|^$(<D)/||g" > $@ && rm -f $@.old
|
||||
endef
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user