Skip to content

Commit

Permalink
use unstripped binaries for release to avoid references to .debug files
Browse files Browse the repository at this point in the history
  • Loading branch information
tor-m6 committed Apr 28, 2024
1 parent 85c99c2 commit 658283c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion repos/base/mk/prg.mk
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ $(TARGET).stripped: $(TARGET) $(TARGET).debug
$(VERBOSE)$(STRIP_TARGET_CMD)
$(VERBOSE)$(OBJCOPY) --add-gnu-debuglink=$(TARGET).debug $@

$(INSTALL_DIR)/$(TARGET): $(TARGET).stripped
$(INSTALL_DIR)/$(TARGET): $(TARGET)
$(VERBOSE)ln -sf $(CURDIR)/$< $@
ifeq ($(COVERAGE),yes)
$(VERBOSE)mkdir -p $(INSTALL_DIR)/gcov_data/$(TARGET)
Expand Down
2 changes: 1 addition & 1 deletion repos/base/mk/so.mk
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ $(LIB_SO).stripped: $(LIB_SO) $(LIB_SO_DEBUG)
$(VERBOSE)$(STRIP) -o $@ $<
$(VERBOSE)$(OBJCOPY) --add-gnu-debuglink=$(LIB_SO_DEBUG) $@

$(INSTALL_SO): $(LIB_SO).stripped
$(INSTALL_SO): $(LIB_SO)
$(VERBOSE)ln -sf $(CURDIR)/$< $@

$(DEBUG_SO): $(LIB_SO).stripped
Expand Down

0 comments on commit 658283c

Please sign in to comment.