Skip to content

Commit f89a37c

Browse files
committed
tile38: disable cgo for linux arm build
Signed-off-by: botantony <[email protected]>
1 parent 80bc1b3 commit f89a37c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Formula/t/tile38.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ def datadir
2222
end
2323

2424
def install
25+
ENV["CGO_ENABLED"] = "0" if OS.linux? && Hardware::CPU.arm?
26+
2527
ldflags = %W[
2628
-s -w
2729
-X github.com/tidwall/tile38/core.Version=#{version}

0 commit comments

Comments
 (0)