mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 20:42:33 +02:00
Replace MacOS.prefer_64_bit with Hardware::CPU.is_64_bit. (#134)
This commit is contained in:
parent
9ebcb064fd
commit
5960d7facb
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class Coredns < Formula
|
|||
def install
|
||||
ENV["GOPATH"] = buildpath
|
||||
ENV["GOOS"] = "darwin"
|
||||
ENV["GOARCH"] = MacOS.prefer_64_bit? ? "amd64" : "386"
|
||||
ENV["GOARCH"] = Hardware::CPU.is_64_bit? ? "amd64" : "386"
|
||||
|
||||
(buildpath/"src/github.com/coredns/coredns").install buildpath.children
|
||||
Language::Go.stage_deps resources, buildpath/"src"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue