Skip to content

Commit

Permalink
src/Makefile: Add dependency from DWARF info to generated headers
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego committed Apr 27, 2018
1 parent a5222e7 commit 92955dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $<
Expand Down

0 comments on commit 92955dc

Please sign in to comment.