libunwind: enable lto

This commit is contained in:
pca006132 2022-01-06 14:04:04 +08:00
parent acaf388dbb
commit 97ca72f7f1

View File

@ -23,6 +23,7 @@ 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");