Skip to content

Commit

Permalink
update build for aarch64 architecture (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
coryb authored Jun 7, 2022
1 parent 77f4c6d commit b2ebf05
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,16 @@ cc_binary(
"/usr/lib/x86_64-linux-gnu/libiberty.a",
"-ldl",
],
"@bazel_tools//src/conditions:linux_aarch64": [
"/usr/lib/aarch64-linux-gnu/libbfd.a",
"/usr/lib/aarch64-linux-gnu/libiberty.a",
"-ldl",
],
"//conditions:default": [],
}),
local_defines = select({
"@bazel_tools//src/conditions:linux_x86_64": ["BACKWARD_HAS_BFD=1"],
"@bazel_tools//src/conditions:linux_aarch64": ["BACKWARD_HAS_BFD=1"],
"//conditions:default": [],
}),
deps = [
Expand Down

0 comments on commit b2ebf05

Please sign in to comment.