Skip to content

Commit

Permalink
2024-03-21 23:18:40
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson committed Mar 21, 2024
1 parent c70499c commit d508310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ fn main() {
fn setup_compiler_flags(build: &mut cc::Build) {
build
.static_flag(true)
.flag("-O3")
.flag("-fno-builtin-printf")
.flag("-fno-builtin-memcmp")
.flag("-nostdinc")
Expand Down Expand Up @@ -62,7 +63,6 @@ fn setup_compiler_flags(build: &mut cc::Build) {
// build.flag("-g").flag("-fno-omit-frame-pointer");
// }

build.flag("-O3");
} else if compiler.is_like_gnu() {
build
.flag("-nostartfiles")
Expand Down

0 comments on commit d508310

Please sign in to comment.