Skip to content

Commit fd54611

Browse files
authored
Merge pull request #216411 from Homebrew/wwwoffle-linux-arm
wwwoffle: add explicit `--build` flag for linux arm build
2 parents cebf231 + 95ad6ed commit fd54611

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Formula/w/wwwoffle.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ class Wwwoffle < Formula
3232
uses_from_macos "zlib"
3333

3434
def install
35-
system "./configure", "--prefix=#{prefix}"
35+
args = []
36+
# Help old config scripts identify arm64 linux
37+
args << "--build=aarch64-unknown-linux-gnu" if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
38+
39+
system "./configure", *args, *std_configure_args
3640
system "make", "install"
3741
end
3842

0 commit comments

Comments
 (0)