Skip to content

Commit

Permalink
Go link tool need to find gcc on Arm platform (#242)
Browse files Browse the repository at this point in the history
Signed-off-by: Bin Lu <[email protected]>
  • Loading branch information
lubinszARM authored and jayconrod committed Jun 25, 2018
1 parent e0e87a7 commit 6a3945e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/go_repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ def _go_repository_tools_impl(ctx):
env = {
"GOROOT": go_root,
"GOPATH": ctx.path("."),
# workaround: to find gcc for go link tool on Arm platform
"PATH": ctx.os.environ["PATH"],
}

for tool in ("fetch_repo", "gazelle"):
Expand Down

0 comments on commit 6a3945e

Please sign in to comment.