Turn off LTO so we can use clang
This commit is contained in:
parent
544990c58f
commit
e2c38cd03a
1
build.rs
1
build.rs
|
@ -5,7 +5,6 @@ fn main() {
|
||||||
cc::Build::new()
|
cc::Build::new()
|
||||||
.include(Path::new("shrooms-vb-core/core"))
|
.include(Path::new("shrooms-vb-core/core"))
|
||||||
.opt_level(2)
|
.opt_level(2)
|
||||||
.flag_if_supported("-flto")
|
|
||||||
.flag_if_supported("-fno-strict-aliasing")
|
.flag_if_supported("-fno-strict-aliasing")
|
||||||
.file(Path::new("shrooms-vb-core/core/vb.c"))
|
.file(Path::new("shrooms-vb-core/core/vb.c"))
|
||||||
.compile("vb");
|
.compile("vb");
|
||||||
|
|
Loading…
Reference in New Issue