Skip to content

Commit 3179727

Browse files
authored
Merge pull request #220399 from Homebrew/ftgl-arm-linux
ftgl: build on arm64 linux
2 parents 7e999a6 + c487ff8 commit 3179727

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Formula/f/ftgl.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def install
5353
]
5454

5555
args << "--with-gl-inc=#{Formula["mesa-glu"].opt_include}" if OS.linux?
56+
# Help old config scripts identify arm64 linux
57+
args << "--build=aarch64-unknown-linux-gnu" if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
5658

5759
system "./configure", *args, *std_configure_args
5860

0 commit comments

Comments
 (0)