arduino-cli: fix ldflags

Closes #57145.

Signed-off-by: Dawid Dziurla <dawidd0811@gmail.com>
master
Dawid Dziurla 2020-06-30 14:31:50 +02:00
parent 7967cfa892
commit bd2e76646f
1 changed files with 2 additions and 1 deletions

View File

@ -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