aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2014-03-18 00:03:05 -0700
committerMisty De Meo2014-03-18 00:03:05 -0700
commit69a5e44fc21ef854ef6a9b4a61748976097abd2d (patch)
tree3d7d91f644e9834d257d8e35dcf73bd61183e0e1 /Library
parent619c35abb5ebf30c714971d7b8aef0c64b3945cf (diff)
downloadhomebrew-69a5e44fc21ef854ef6a9b4a61748976097abd2d.tar.bz2
ansible: turn on arg refurbishing
Fixes #27639.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ansible.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/ansible.rb b/Library/Formula/ansible.rb
index df245df9a..6f86b7e5f 100644
--- a/Library/Formula/ansible.rb
+++ b/Library/Formula/ansible.rb
@@ -48,6 +48,12 @@ class Ansible < Formula
ENV.prepend_create_path 'PYTHONPATH', libexec+'lib/python2.7/site-packages'
install_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
+ # pycrypto's C bindings use flags unrecognized by clang,
+ # but since it doesn't use a makefile arg refurbishment
+ # is normally not enabled.
+ # See https://github.com/Homebrew/homebrew/issues/27639
+ ENV.append 'HOMEBREW_CCCFG', 'O'
+
resource('pycrypto').stage { system "python", *install_args }
resource('pyyaml').stage { system "python", *install_args }
resource('paramiko').stage { system "python", *install_args }