Skip to content

Commit

Permalink
Update ffmpeg.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
deus0ww committed Aug 8, 2024
1 parent f01b44d commit 370da75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ffmpeg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,12 @@ def install
args << "--enable-libssh" if build.with? "libssh"
args << "--enable-libtwolame" if build.with? "two-lame"

opts = Hardware::CPU.arm? ? "-mcpu=native " : "-march=native -mtune=native "
opts = Hardware::CPU.arm? ? "-mcpu=native" : "-march=native -mtune=native"
args << ("--extra-cflags=" + opts)
args << ("--extra-cxxflags=" + opts)
args << ("--extra-objcflags=" + opts)
args << ("--extra-ldflags=" + opts)
args << "--enable-hardcoded-tables" unless build.head? # Broken on HEAD
args << "--enable-hardcoded-tables"
args << "--enable-lto"
args << "--optflags=-Ofast"

Expand Down

0 comments on commit 370da75

Please sign in to comment.