build.rs: Don't try to manually set -fPIC.

cc-rs's documentation says that it already handles this automatically,
which is why we'd already removed it for other targets.
This commit is contained in:
Brian Smith 2023-10-05 15:57:34 -07:00
parent 12d8178ab6
commit 414e7a32ff

View File

@ -511,7 +511,6 @@ fn build_library(
match target.os.as_str() {
"macos" => {
let _ = c.flag("-fPIC");
let _ = c.flag("-Wl,-dead_strip");
}
_ => {