ffmpeg@2.8: use Hardware::CPU.is_32_bit? instead of deprecated Hardware.is_32_bit?

master
ilovezfs 2017-03-11 09:24:21 -08:00 committed by Mike McQuaid
parent 1bd3a98d79
commit ff83760ec9
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ class FfmpegAT28 < Formula
# For 32-bit compilation under gcc 4.2, see:
# https://trac.macports.org/ticket/20938#comment:22
ENV.append_to_cflags "-mdynamic-no-pic" if Hardware.is_32_bit? && Hardware::CPU.intel? && ENV.compiler == :clang
ENV.append_to_cflags "-mdynamic-no-pic" if Hardware::CPU.is_32_bit? && Hardware::CPU.intel? && ENV.compiler == :clang
system "./configure", *args