diff options
| author | Jack Nagel | 2014-12-15 00:29:02 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-15 00:31:16 -0500 |
| commit | c5157ca4977f6c1e3472bf952ac9931480a936ca (patch) | |
| tree | 083308e87684b45bf8cd4e4d51fc63c1ecd1805d /Library/Formula | |
| parent | 7e9ed925d1e681a03963afef9afefec4a878783f (diff) | |
| download | homebrew-c5157ca4977f6c1e3472bf952ac9931480a936ca.tar.bz2 | |
Prefer ENV.cc to ENV["CC"]
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gringo.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/libb2.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/pypy.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/pypy3.rb | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/gringo.rb b/Library/Formula/gringo.rb index 710d79e09..a163d7daf 100644 --- a/Library/Formula/gringo.rb +++ b/Library/Formula/gringo.rb @@ -24,7 +24,7 @@ class Gringo < Formula ENV.libcxx inreplace "SConstruct", "env['CXX'] = 'g++'", - "env['CXX'] = '#{ENV['CXX']}'" + "env['CXX'] = '#{ENV.cxx}'" scons "--build-dir=release", "gringo", "clingo" bin.install "build/release/gringo", "build/release/clingo" end diff --git a/Library/Formula/libb2.rb b/Library/Formula/libb2.rb index 58e9fd9d9..3bd30e0cc 100644 --- a/Library/Formula/libb2.rb +++ b/Library/Formula/libb2.rb @@ -50,7 +50,7 @@ class Libb2 < Formula } } EOS - system ENV["CC"], "blake2test.c", "-lb2", "-o", "b2test" + system ENV.cc, "blake2test.c", "-lb2", "-o", "b2test" system "./b2test" end end diff --git a/Library/Formula/pypy.rb b/Library/Formula/pypy.rb index 22709c6a2..f057e8ec8 100644 --- a/Library/Formula/pypy.rb +++ b/Library/Formula/pypy.rb @@ -40,7 +40,7 @@ class Pypy < Formula Dir.chdir "pypy/goal" do system "python", buildpath/"rpython/bin/rpython", - "-Ojit", "--shared", "--cc", ENV["CC"], "--translation-verbose", + "-Ojit", "--shared", "--cc", ENV.cc, "--translation-verbose", "--make-jobs", ENV.make_jobs, "targetpypystandalone.py" system "install_name_tool", "-change", "libpypy-c.dylib", libexec/"lib/libpypy-c.dylib", "pypy-c" system "install_name_tool", "-id", opt_libexec/"lib/libpypy-c.dylib", "libpypy-c.dylib" diff --git a/Library/Formula/pypy3.rb b/Library/Formula/pypy3.rb index ca1bc0260..042e9fa45 100644 --- a/Library/Formula/pypy3.rb +++ b/Library/Formula/pypy3.rb @@ -39,7 +39,7 @@ class Pypy3 < Formula Dir.chdir "pypy/goal" do system "python", buildpath/"rpython/bin/rpython", - "-Ojit", "--shared", "--cc", ENV["CC"], "--translation-verbose", + "-Ojit", "--shared", "--cc", ENV.cc, "--translation-verbose", "--make-jobs", ENV.make_jobs, "targetpypystandalone.py" system "install_name_tool", "-change", "libpypy-c.dylib", libexec/"lib/libpypy3-c.dylib", "pypy-c" system "install_name_tool", "-id", opt_libexec/"lib/libpypy3-c.dylib", "libpypy-c.dylib" |
