aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-11-11 23:50:57 -0600
committerJack Nagel2013-11-11 23:50:57 -0600
commite92e725c6e919684d7fdffe2bf61544d25f3ba33 (patch)
tree784759a2fe129160f931344e9a856d0bdf90c436 /Library/Formula
parent23ef4134e7ec6d829dd5a424e8820fb54aede480 (diff)
downloadhomebrew-e92e725c6e919684d7fdffe2bf61544d25f3ba33.tar.bz2
libgcrypt: needs asm patch when building universal or 32-bit
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libgcrypt.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/libgcrypt.rb b/Library/Formula/libgcrypt.rb
index fc3df220c..f6fa1960e 100644
--- a/Library/Formula/libgcrypt.rb
+++ b/Library/Formula/libgcrypt.rb
@@ -15,7 +15,7 @@ class Libgcrypt < Formula
end
def patches
- if ENV.compiler == :clang and MacOS.clang_build_version < 500
+ if ENV.compiler == :clang and (build.universal? or build.build_32_bit?)
{ :p0 => "https://trac.macports.org/export/85232/trunk/dports/devel/libgcrypt/files/clang-asm.patch" }
end
end