diff --git a/config/rules.mk b/config/rules.mk index bab9d395bc7..01c52d2b10a 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -834,7 +834,7 @@ HOST_LIBS_DEPS = $(filter %.$(LIB_SUFFIX), $(HOST_LIBS)) DSO_LDOPTS_DEPS = $(EXTRA_DSO_LIBS) $(filter %.$(LIB_SUFFIX), $(EXTRA_DSO_LDOPTS)) # Dependancies which, if modified, should cause everything to rebuild -GLOBAL_DEPS += Makefile Makefile.in $(DEPTH)/config/autoconf.mk $(DEPTH)/config/config.mk +GLOBAL_DEPS += Makefile Makefile.in $(DEPTH)/config/autoconf.mk $(topsrcdir)/config/config.mk ############################################## ifdef PARALLEL_DIRS diff --git a/js/src/config/rules.mk b/js/src/config/rules.mk index bab9d395bc7..01c52d2b10a 100644 --- a/js/src/config/rules.mk +++ b/js/src/config/rules.mk @@ -834,7 +834,7 @@ HOST_LIBS_DEPS = $(filter %.$(LIB_SUFFIX), $(HOST_LIBS)) DSO_LDOPTS_DEPS = $(EXTRA_DSO_LIBS) $(filter %.$(LIB_SUFFIX), $(EXTRA_DSO_LDOPTS)) # Dependancies which, if modified, should cause everything to rebuild -GLOBAL_DEPS += Makefile Makefile.in $(DEPTH)/config/autoconf.mk $(DEPTH)/config/config.mk +GLOBAL_DEPS += Makefile Makefile.in $(DEPTH)/config/autoconf.mk $(topsrcdir)/config/config.mk ############################################## ifdef PARALLEL_DIRS