From 6ac690590f2e03ba2e94d0fd3bcb499ff5b49ecc Mon Sep 17 00:00:00 2001 From: Neved4 <63655535+Neved4@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:02:00 +0200 Subject: [PATCH] Update `gcflags` moving it into `std_go_args` --- Formula/gotwc.rb | 5 ++++- Formula/nomore403.rb | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Formula/gotwc.rb b/Formula/gotwc.rb index 51c30b7..cc99ee4 100644 --- a/Formula/gotwc.rb +++ b/Formula/gotwc.rb @@ -19,7 +19,10 @@ class Gotwc < Formula def install system "go", "build", - *std_go_args(ldflags: "-w -s"), "-gcflags=all=-l -B -wb=false" + *std_go_args( + ldflags: "-w -s", + gcflags: "all=-l -B -wb=false", + ) doc.install "README.md" end diff --git a/Formula/nomore403.rb b/Formula/nomore403.rb index 3bd0249..1a08faa 100644 --- a/Formula/nomore403.rb +++ b/Formula/nomore403.rb @@ -19,7 +19,10 @@ class Nomore403 < Formula def install system "go", "build", - *std_go_args(ldflags: "-w -s"), "-gcflags=all=-l -B -wb=false" + *std_go_args( + ldflags: "-w -s", + gcflags: "all=-l -B -wb=false", + ) doc.install "README.md" end end