aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2013-07-16 21:00:34 -0700
committerAdam Vandenberg2013-07-16 21:00:34 -0700
commite8a33097a38ee674ca63d43176a87ad6145bec9b (patch)
tree3e89d37400f231c57c9e0fba55ac322a8c5f7abd
parentf160fa9eac083905f4b49e174165a8e0b78fb159 (diff)
downloadhomebrew-e8a33097a38ee674ca63d43176a87ad6145bec9b.tar.bz2
mercurial: fix compilation on Snow Leopard
-rw-r--r--Library/Formula/mercurial.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/mercurial.rb b/Library/Formula/mercurial.rb
index d87b0d9ae..335c2fc90 100644
--- a/Library/Formula/mercurial.rb
+++ b/Library/Formula/mercurial.rb
@@ -13,6 +13,7 @@ class Mercurial < Formula
depends_on :python => 'docutils' if build.include? 'enable-docs'
def install
+ ENV.minimal_optimization if MacOS.version <= :snow_leopard
python do
# Inside this python do block, the PYTHONPATH (and more) is alreay set up
if python.from_osx? && !MacOS::CLT.installed?