diff --git a/Makefile b/Makefile index 13ef5f3fdb5..59624891e6a 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,6 @@ MODULE_DIRS := # Load the make rules generated by configure -include config.mk --include Makedepend ifeq "$(HAVE_GCC)" "1" CXXFLAGS:= -Wall $(CXXFLAGS) diff --git a/configure b/configure index 05f91fa588d..5fdf130ab40 100755 --- a/configure +++ b/configure @@ -1066,6 +1066,7 @@ else _cxx_major=7 _cxx_minor=4 add_line_to_config_mk 'CXX_UPDATE_DEP_FLAG = -MDupdate "$(*D)/$(DEPDIR)/$(*F).d"' + add_line_to_config_mk '-include Makedepend' ;; *) cxx_version="$cxx_version, bad"