From cd1c86cd56f7a94cb85d023002552ed81ed0abb6 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Mon, 18 Mar 2013 09:45:08 -0500 Subject: ffmpeg: only apply -mdynamic-no-pic w/ 32bit clang While this flag fixes 32-bit clang compilation of ffmpeg, it actually breaks the build on 32-bit PPC with gcc-4.2.--- Library/Formula/ffmpeg.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb index d297dc72d..b4b0ba29d 100644 --- a/Library/Formula/ffmpeg.rb +++ b/Library/Formula/ffmpeg.rb @@ -89,7 +89,7 @@ class Ffmpeg < Formula # For 32-bit compilation under gcc 4.2, see: # http://trac.macports.org/ticket/20938#comment:22 - ENV.append_to_cflags "-mdynamic-no-pic" if MacOS.version == :leopard or Hardware.is_32_bit? + ENV.append_to_cflags "-mdynamic-no-pic" if Hardware.is_32_bit? && Hardware.cpu_type == :intel && ENV.compiler == :clang system "./configure", *args -- cgit v1.2.3