Skip to content

Commit

Permalink
host-generic-pc: install unstripped binaries into rootfs by default
Browse files Browse the repository at this point in the history
Needed to provide meaningful backtraces on sanitizer errors.

Fixes: phoenix-rtos/phoenix-rtos-project#797
  • Loading branch information
nalajcie committed Aug 29, 2023
1 parent 23a929a commit b64d0b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile.host
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,8 @@ CFLAGS += -fsanitize=address,undefined
LDFLAGS += -fsanitize=address,undefined
endif

# install unstripped binaries in rootfs
# (cruicial for tests binaries with debug info for meaningful sanitizers info)
ROOTFS_INSTALL_UNSTRIPPED := y

CXXFLAGS += $(filter-out -Wstrict-prototypes, $(CFLAGS))

0 comments on commit b64d0b5

Please sign in to comment.