Skip to content

Commit 95ad6ed

Browse files
committed
wwwoffle: add explicit --build flag for linux arm build
Signed-off-by: Rui Chen <[email protected]>
1 parent 4621d3b commit 95ad6ed

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)