aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-05-02 19:34:43 -0500
committerJack Nagel2014-05-02 19:34:43 -0500
commit4c5071e588b2170e7f7253e1361f5e452c0a2626 (patch)
tree5bca4f93026ef2cd0e73c126e633f1dcdd7053c0 /Library/Formula
parentb5365f80d017e31e47542eb05868d3ca443d4d23 (diff)
downloadhomebrew-4c5071e588b2170e7f7253e1361f5e452c0a2626.tar.bz2
cantera: use ENV.append
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cantera.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/cantera.rb b/Library/Formula/cantera.rb
index 5a91ac1a8..63c3d0ba7 100644
--- a/Library/Formula/cantera.rb
+++ b/Library/Formula/cantera.rb
@@ -32,7 +32,7 @@ class Cantera < Formula
if MacOS.prefer_64_bit?
# There is probably a better way to do this, but this seems to work for my purposes:
- ENV['CFLAGS'] += " -arch #{Hardware::CPU.arch_64_bit}"
+ ENV.append "CFLAGS", "-arch #{Hardware::CPU.arch_64_bit}"
ENV['CXX_OPT'] = "-arch #{Hardware::CPU.arch_64_bit}"
ENV['ARCHFLAGS'] = "-arch #{Hardware::CPU.arch_64_bit}"
# Maybe this does all that's needed?