Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Commit

Permalink
Override xgo go version to 1.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zillode committed Oct 11, 2016
1 parent 5c9c17a commit cb6d2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cross-compile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
end
ldflags = "-w -X main.Version=#{version}"
if os.include?("darwin")
build = "xgo --targets=darwin/amd64 -ldflags '#{ldflags}' ."
build = "xgo -go 1.7.1 --targets=darwin/amd64 -ldflags '#{ldflags}' ."
build += " && mv syncthing-inotify-darwin-10.6-amd64 #{name}"
else
build = "#{vars} go build -ldflags '#{ldflags}'"
Expand Down

0 comments on commit cb6d2f1

Please sign in to comment.