Skip to content

Commit

Permalink
Remove -lgcc from Android builds (#1541)
Browse files Browse the repository at this point in the history
Newer NDKs no longer have this library, if it's still needed for folks
using older NDKs I think they'll have to manually link it.
  • Loading branch information
keith authored Sep 8, 2022
1 parent cb9ca1b commit 9570b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/platform/triple_mappings.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ _SYSTEM_TO_DYLIB_EXT = {
_SYSTEM_TO_STDLIB_LINKFLAGS = {
# NOTE: Rust stdlib `build.rs` treats android as a subset of linux, rust rules treat android
# as its own system.
"android": ["-ldl", "-llog", "-lgcc"],
"android": ["-ldl", "-llog"],
"bitrig": [],
# TODO(gregbowyer): If rust stdlib is compiled for cloudabi with the backtrace feature it
# includes `-lunwind` but this might not actually be required.
Expand Down

0 comments on commit 9570b7a

Please sign in to comment.