Don't set opt_level in the musl build script

`cc` automatically reads this from Cargo's `OPT_LEVEL` variable so we
don't need to set it explicitly. Remove this so running in a debugger
makes more sense.
This commit is contained in:
Trevor Gross 2025-01-15 11:34:17 +00:00
parent 6ac9c14933
commit 9c98c46147

View file

@ -151,7 +151,6 @@ fn build_musl_math(cfg: &Config) {
.flag_if_supported("-ffreestanding")
.flag_if_supported("-nostdinc")
.define("_ALL_SOURCE", "1")
.opt_level(3)
.define(
"ROOT_INCLUDE_FEATURES",
Some(musl_dir.join("include/features.h").to_str().unwrap()),