diff options
| author | Jack Nagel | 2013-03-23 17:42:12 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-03-23 18:07:33 -0500 |
| commit | 0c8dbe2d9711b766056636c4e6147168a8dca483 (patch) | |
| tree | 06d2b8bdc8ec040df165ad5a9b22c1714a5efb83 /Library/Formula | |
| parent | a9c24547f149a556977ade24f5cc41569e27b87a (diff) | |
| download | homebrew-0c8dbe2d9711b766056636c4e6147168a8dca483.tar.bz2 | |
gst-plugins-bad: clang doesn't understand -no-cpp-precomp
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gst-plugins-bad.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/gst-plugins-bad.rb b/Library/Formula/gst-plugins-bad.rb index 63a3693a0..790b9c7dc 100644 --- a/Library/Formula/gst-plugins-bad.rb +++ b/Library/Formula/gst-plugins-bad.rb @@ -25,7 +25,8 @@ class GstPluginsBad < Formula depends_on 'rtmpdump' => :optional def install - ENV.append "CFLAGS", "-no-cpp-precomp -funroll-loops -fstrict-aliasing" + ENV.append "CFLAGS", "-no-cpp-precomp" unless ENV.compiler == :clang + ENV.append "CFLAGS", "-funroll-loops -fstrict-aliasing" system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", |
