aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-02-14 12:26:00 -0600
committerJack Nagel2012-02-14 12:29:28 -0600
commit308859ffb46ba4071768bf168d57b8a87cc02c1b (patch)
treef28580c103d7bf134357c2983b153329a9f5b1f5 /Library
parent3c1597e393f84a62e7280873c7c535a6d9abaa24 (diff)
downloadhomebrew-308859ffb46ba4071768bf168d57b8a87cc02c1b.tar.bz2
pkg-config: apply clang fix to all platforms
This fix applies to any platform with Clang 3.0 (and presumably older clang, but older clang is rarely used); XCode 4.2 on Snow Leopard, for example. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pkg-config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/pkg-config.rb b/Library/Formula/pkg-config.rb
index 5f340994b..1d0fe3f04 100644
--- a/Library/Formula/pkg-config.rb
+++ b/Library/Formula/pkg-config.rb
@@ -11,7 +11,7 @@ class PkgConfig < Formula
def install
# fixes compile error on Lion with Clang duplicate symbols in libglib
- ENV.append_to_cflags '-std=gnu89' if MacOS.lion? and ENV.compiler == :clang
+ ENV.append_to_cflags '-std=gnu89' if ENV.compiler == :clang
paths = %W[
#{HOMEBREW_PREFIX}/lib/pkgconfig