add optimization to suppress gcc warning about not being able to apply hardening

This commit is contained in:
Vinzenz Schroeter 2024-10-10 22:07:55 +02:00
parent c5cb6475b2
commit d3e135e508

View file

@ -12,5 +12,6 @@ fn main() {
let mut cc = cc::Build::new(); let mut cc = cc::Build::new();
cc.file("src/main.c"); cc.file("src/main.c");
cc.include(&sp_include); cc.include(&sp_include);
cc.opt_level(2);
cc.compile("lang_c"); cc.compile("lang_c");
} }