From 9782baeaa6a9d3b939c41901a0eebc21e3e5bc0a Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Tue, 3 Dec 2024 00:52:26 -0500 Subject: [PATCH] gocloc: update go build Signed-off-by: Rui Chen --- Formula/g/gocloc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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