Skip to content

Commit

Permalink
Fix libstdc++ versioning error on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
reuben committed Oct 25, 2018
1 parent edf1465 commit d42530f
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions native_client/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,28 @@ tf_cc_shared_object(
copts = ["-Wno-sign-compare", "-fvisibility=hidden"],
linkopts = select({
"//tensorflow:darwin": [],
"//conditions:default": [
"-ldl",
"-pthread",
"-Wl,-Bsymbolic",
"-Wl,-Bsymbolic-functions",
"-Wl,-export-dynamic",
"//tensorflow:linux_x86_64": [
"-ldl",
"-pthread",
"-Wl,-Bsymbolic",
"-Wl,-Bsymbolic-functions",
"-Wl,-export-dynamic",
],
"//tensorflow:rpi3": [
"-ldl",
"-pthread",
"-Wl,-Bsymbolic",
"-Wl,-Bsymbolic-functions",
"-Wl,-export-dynamic",
"-l:libstdc++.a",
],
"//tensorflow:rpi3-armv8": [
"-ldl",
"-pthread",
"-Wl,-Bsymbolic",
"-Wl,-Bsymbolic-functions",
"-Wl,-export-dynamic",
"-l:libstdc++.a",
],
}),
deps = [
Expand Down

0 comments on commit d42530f

Please sign in to comment.