From 92955dc8387c4980ebbc0656347fcc74d7ac2f04 Mon Sep 17 00:00:00 2001 From: Luke Gorrie Date: Fri, 27 Apr 2018 09:07:02 +0000 Subject: [PATCH] src/Makefile: Add dependency from DWARF info to generated headers --- src/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Makefile b/src/Makefile index d63393a751..3f38589db5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -380,6 +380,8 @@ $(HOST_O): %.o: %.c $(E) "HOSTCC $@" $(Q)$(HOST_CC) $(HOST_ACFLAGS) -c -o $@ $< +$(DWARF_DWO): $(ALL_HDRGEN) + $(DWARF_DWO): %.dwo: %.c $(E) "CC(debug) $@" $(Q)$(TARGET_CC) -g3 -fno-eliminate-unused-debug-types -gsplit-dwarf -c $<