Skip to content

Commit 944210b

Browse files
authored
Merge pull request #215721 from Homebrew/t1lib-linux-arm
t1lib: add explicit `--build` flag for linux arm build
2 parents e2568e5 + 69fd797 commit 944210b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Formula/t/t1lib.rb

+5-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ def install
3434
# Workaround for newer Clang
3535
ENV.append_to_cflags "-Wno-implicit-int" if DevelopmentTools.clang_build_version >= 1403
3636

37-
system "./configure", "--prefix=#{prefix}"
37+
args = []
38+
# Help old config scripts identify arm64 linux
39+
args << "--build=aarch64-unknown-linux-gnu" if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
40+
41+
system "./configure", *args, *std_configure_args
3842
system "make", "without_doc"
3943
system "make", "install"
4044
share.install "Fonts" => "fonts"

0 commit comments

Comments
 (0)