Turn off LTO so we can use clang

This commit is contained in:
Simon Gellis 2024-11-11 18:14:11 -05:00
parent 544990c58f
commit e2c38cd03a
1 changed files with 0 additions and 1 deletions

View File

@ -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");