mirror of
https://github.com/cccb/servicepoint.git
synced 2025-01-18 18:10:14 +01:00
add optimization to suppress gcc warning about not being able to apply hardening
This commit is contained in:
parent
c5cb6475b2
commit
d3e135e508
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue