From bd2e76646fff2e1cdb53a8d7d9a307d69ace5f9d Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Tue, 30 Jun 2020 14:31:50 +0200 Subject: [PATCH] arduino-cli: fix ldflags Closes #57145. Signed-off-by: Dawid Dziurla --- Formula/arduino-cli.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Formula/arduino-cli.rb b/Formula/arduino-cli.rb index f605de104c5..0dd38b310dc 100644 --- a/Formula/arduino-cli.rb +++ b/Formula/arduino-cli.rb @@ -4,6 +4,7 @@ class ArduinoCli < Formula url "https://github.com/arduino/arduino-cli.git", :tag => "0.11.0", :revision => "0296f4df116385f868b67c5ffa7393936c3345c9" + revision 1 head "https://github.com/arduino/arduino-cli.git" bottle do @@ -22,7 +23,7 @@ class ArduinoCli < Formula -X github.com/arduino/arduino-cli/version.versionString=#{version} -X github.com/arduino/arduino-cli/version.commit=#{commit} ] - system "go", "build", *std_go_args, "-ldflags", ldflags + system "go", "build", *std_go_args, "-ldflags", ldflags.join(" ") end test do