From c41354dde00235918b6fdaef09823807a3861170 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Tue, 14 May 2024 14:04:27 +0800 Subject: [PATCH] disable LTO for libunwind --- src/libunwind/build.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libunwind/build.rs b/src/libunwind/build.rs index fe33bdd..c0a50ac 100644 --- a/src/libunwind/build.rs +++ b/src/libunwind/build.rs @@ -22,7 +22,6 @@ mod llvm_libunwind { cfg.flag("-fno-stack-protector"); cfg.flag("--target=armv7-none-eabihf"); cfg.flag("-O2"); - cfg.flag("-flto"); cfg.flag("-std=c99"); cfg.flag("-fstrict-aliasing");