Skip to content

Commit

Permalink
build.rs: Don't try to manually set -fPIC.
Browse files Browse the repository at this point in the history
cc-rs's documentation says that it already handles this automatically,
which is why we'd already removed it for other targets.
  • Loading branch information
briansmith committed Oct 6, 2023
1 parent 12d8178 commit 414e7a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,6 @@ fn build_library(

match target.os.as_str() {
"macos" => {
let _ = c.flag("-fPIC");
let _ = c.flag("-Wl,-dead_strip");
}
_ => {
Expand Down

0 comments on commit 414e7a3

Please sign in to comment.