disable LTO for libunwind

This commit is contained in:
Simon Renblad 2024-05-14 14:04:27 +08:00
parent 4341d2d2a5
commit c41354dde0
1 changed files with 0 additions and 1 deletions

View File

@ -22,7 +22,6 @@ mod llvm_libunwind {
cfg.flag("-fno-stack-protector"); cfg.flag("-fno-stack-protector");
cfg.flag("--target=armv7-none-eabihf"); cfg.flag("--target=armv7-none-eabihf");
cfg.flag("-O2"); cfg.flag("-O2");
cfg.flag("-flto");
cfg.flag("-std=c99"); cfg.flag("-std=c99");
cfg.flag("-fstrict-aliasing"); cfg.flag("-fstrict-aliasing");