Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t1lib: add explicit --build flag for linux arm build #215721

Merged
merged 1 commit into from
Mar 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Formula/t/t1lib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ def install
# Workaround for newer Clang
ENV.append_to_cflags "-Wno-implicit-int" if DevelopmentTools.clang_build_version >= 1403

system "./configure", "--prefix=#{prefix}"
args = []
# Help old config scripts identify arm64 linux
args << "--build=aarch64-unknown-linux-gnu" if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?

system "./configure", *args, *std_configure_args
system "make", "without_doc"
system "make", "install"
share.install "Fonts" => "fonts"
Expand Down
Loading