diff options
| author | Jack Nagel | 2014-05-02 19:34:43 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-02 19:34:43 -0500 |
| commit | 4c5071e588b2170e7f7253e1361f5e452c0a2626 (patch) | |
| tree | 5bca4f93026ef2cd0e73c126e633f1dcdd7053c0 /Library/Formula | |
| parent | b5365f80d017e31e47542eb05868d3ca443d4d23 (diff) | |
| download | homebrew-4c5071e588b2170e7f7253e1361f5e452c0a2626.tar.bz2 | |
cantera: use ENV.append
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cantera.rb | 2 |
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? |
