drop required C standard to c90

ffi
Avril 3 years ago
parent 9557d4e80b
commit 3e94e78442
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -12,7 +12,7 @@ fn build_cookie_wrapper(floc: impl AsRef<Path>)
{ {
let mut builder = cc::Build::new(); let mut builder = cc::Build::new();
// --std=c99 -W -Wall -Werror -pedantic -O3 -flto // --std=c99 -W -Wall -Werror -pedantic -O3 -flto
builder.flag("--std=c11") builder.flag("--std=c99")
.flag("-W") .flag("-W")
.flag("-Wall") .flag("-Wall")
.flag_if_supported("-Wextra") .flag_if_supported("-Wextra")

Loading…
Cancel
Save