diff --git a/Formula/g/gocloc.rb b/Formula/g/gocloc.rb index 03730027a856..c4c1d29eb678 100644 --- a/Formula/g/gocloc.rb +++ b/Formula/g/gocloc.rb @@ -18,7 +18,7 @@ class Gocloc < Formula depends_on "go" => :build def install - system "go", "build", *std_go_args, "./cmd/gocloc" + system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/gocloc" end test do