From a054c626871451ea896efbef63b61dce819db563 Mon Sep 17 00:00:00 2001 From: guoweikang Date: Tue, 13 Aug 2024 15:12:16 +0800 Subject: [PATCH] add force frame pointers compile flags Signed-off-by: guoweikang --- scripts/make/cargo.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make/cargo.mk b/scripts/make/cargo.mk index 2509161..03c53ca 100644 --- a/scripts/make/cargo.mk +++ b/scripts/make/cargo.mk @@ -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)