aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
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?