We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40d768b commit e2ed993Copy full SHA for e2ed993
Formula/s/sttr.rb
@@ -17,6 +17,8 @@ class Sttr < Formula
17
depends_on "go" => :build
18
19
def install
20
+ ENV["CGO_ENABLED"] = "0" if OS.linux? && Hardware::CPU.arm?
21
+
22
system "go", "build", *std_go_args(ldflags: "-s -w -X main.version=#{version}")
23
end
24
0 commit comments