forked from M-Labs/artiq-zynq
libunwind: enable lto
This commit is contained in:
parent
acaf388dbb
commit
97ca72f7f1
@ -23,6 +23,7 @@ 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");
|
||||||
|
Loading…
Reference in New Issue
Block a user