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

This commit is contained in:
ilovezfs 2017-03-11 09:24:21 -08:00 committed by Mike McQuaid
parent 1bd3a98d79
commit ff83760ec9

View file

@ -149,7 +149,7 @@ class FfmpegAT28 < Formula
# For 32-bit compilation under gcc 4.2, see: # For 32-bit compilation under gcc 4.2, see:
# https://trac.macports.org/ticket/20938#comment:22 # 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 system "./configure", *args