diff options
| author | Misty De Meo | 2013-03-18 09:45:08 -0500 |
|---|---|---|
| committer | Misty De Meo | 2013-03-18 09:45:08 -0500 |
| commit | cd1c86cd56f7a94cb85d023002552ed81ed0abb6 (patch) | |
| tree | 2c9b27033680b8b0f4c83c82ef4b8f769bffe1c4 /Library/Formula | |
| parent | 60001e455b86a4460740a4a3f7e1630ecd74cb67 (diff) | |
| download | homebrew-cd1c86cd56f7a94cb85d023002552ed81ed0abb6.tar.bz2 | |
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.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ffmpeg.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
