Skip to content

Commit

Permalink
Update ffmpeg-iina.rb (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioMastr authored Jan 6, 2024
1 parent fe5f5be commit 2cd28b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ffmpeg-iina.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ def install
--enable-shared
--enable-pthreads
--enable-version3
--cc=#{ENV.cc}
--host-cflags=#{ENV.cflags}
--host-ldflags=#{ENV.ldflags}
--enable-ffplay
Expand Down Expand Up @@ -76,7 +75,8 @@ def install
--disable-programs
]

args << "--enable-neon" if Hardware::CPU.arm?
args << "--enable-neon --cc=gcc" if Hardware::CPU.arm?
args << "--cc=#{ENV.cc}" if Hardware::CPU.intel?

system "./configure", *args
system "make", "install"
Expand Down

0 comments on commit 2cd28b3

Please sign in to comment.