Skip to content

Commit 6d8a3d5

Browse files
committed
smpeg: fix build on arm64 linux
1 parent 3ca04be commit 6d8a3d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Formula/s/smpeg.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ def install
5050
--disable-opengl-player
5151
--disable-sdltest
5252
]
53+
# Help old config scripts identify arm64 linux
54+
args << "--build=aarch64-unknown-linux-gnu" if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
5355

5456
system "./autogen.sh"
5557
system "./configure", *args, *std_configure_args

0 commit comments

Comments
 (0)