diff options
| author | Fabián Arias | 2011-06-29 22:26:49 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-30 09:27:39 -0700 |
| commit | d6fe05fbce0011044d979f43c93405035cf9db52 (patch) | |
| tree | 0bf7a94d43a19e01484768cf95b6dbd97567e717 /Library/Formula/ffmpeg.rb | |
| parent | 608993fd28df33d758ec6bce32835d9d06e3054f (diff) | |
| download | homebrew-d6fe05fbce0011044d979f43c93405035cf9db52.tar.bz2 | |
ffmpeg: allow use of alternate compilers
Diffstat (limited to 'Library/Formula/ffmpeg.rb')
| -rw-r--r-- | Library/Formula/ffmpeg.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb index 1eddaa241..7b69bfa1a 100644 --- a/Library/Formula/ffmpeg.rb +++ b/Library/Formula/ffmpeg.rb @@ -33,6 +33,11 @@ class Ffmpeg < Formula args << "--enable-libvpx" if Formula.factory('libvpx').installed? args << "--enable-libxvid" if Formula.factory('xvid').installed? + # Enable alternate compilers + args << "--cc=clang" if ENV.use_clang? + args << "--cc=llvm-gcc" if ENV.use_llvm? + args << "--cc=gcc" if ENV.use_gcc? + # For 32-bit compilation under gcc 4.2, see: # http://trac.macports.org/ticket/20938#comment:22 if MacOS.snow_leopard? and Hardware.is_32_bit? |
