From: Ed Maste <emaste@xxxxxxxxxxx> When Valgrind is not available NO_VALGRIND is set in CFLAGS, and this is needed during dependency generation as well as compilation. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4d88157..da6cf92 100644 --- a/Makefile +++ b/Makefile @@ -344,7 +344,7 @@ clean: libfdt_clean pylibfdt_clean tests_clean %.d: %.c @$(VECHO) DEP $< - $(CC) $(CPPFLAGS) -MM -MG -MT "$*.o $@" $< > $@ + $(CC) $(CPPFLAGS) $(CFLAGS) -MM -MG -MT "$*.o $@" $< > $@ %.d: %.S @$(VECHO) DEP $< -- 2.24.0