Skip to content

Commit 4a6f42a

Browse files
authored
Merge pull request Homebrew#218813 from Homebrew/seven-kingdoms-arm
seven-kingdoms: fix build on arm64 linux
2 parents 5dd9394 + cbdc28f commit 4a6f42a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Formula/s/seven-kingdoms.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ class SevenKingdoms < Formula
5151
end
5252

5353
def install
54-
system "./configure", "--disable-silent-rules", *std_configure_args
54+
args = ["--disable-silent-rules"]
55+
args += ["--disable-curl", "--disable-enet", "--disable-multiplayer"] unless Hardware::CPU.intel?
56+
57+
system "./configure", *args, *std_configure_args
5558
system "make"
5659
system "make", "install"
5760
end

0 commit comments

Comments
 (0)