Skip to content

Commit

Permalink
add force frame pointers compile flags
Browse files Browse the repository at this point in the history
Signed-off-by: guoweikang <[email protected]>
  • Loading branch information
guoweikang committed Aug 14, 2024
1 parent 0a1b105 commit 8064a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/make/cargo.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build_args := \
$(build_args-$(MODE)) \
$(verbose)

RUSTFLAGS := -C link-arg=-T$(LD_SCRIPT) -C link-arg=-no-pie
RUSTFLAGS := -C link-arg=-T$(LD_SCRIPT) -C link-arg=-no-pie -C force-frame-pointers=yes
RUSTDOCFLAGS := --enable-index-page -Zunstable-options -D rustdoc::broken_intra_doc_links

ifeq ($(MAKECMDGOALS), doc_check_missing)
Expand Down

0 comments on commit 8064a40

Please sign in to comment.