diff options
author | Ed Maste <emaste@freebsd.org> | 2019-12-10 16:30:33 +0000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-12-17 12:34:46 +1100 |
commit | 0eb1cb0b531eeaf79b572baec978d40eefe06ca8 (patch) | |
tree | 21d569266a2195fa6ea6e60fbd3e41e2b6be5a7c | |
parent | c40aeb60b47a56e3d4d3aebb6fffff2117f8c9eb (diff) | |
download | device-tree-compiler-0eb1cb0b531eeaf79b572baec978d40eefe06ca8.tar.gz |
Makefile: pass $(CFLAGS) also during dependency generation
When Valgrind is not available NO_VALGRIND is set in CFLAGS, and this
is needed during dependency generation as well as compilation.
Message-Id: <20191210163033.9888-1-emaste@freefall.freebsd.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 $< |