diff options
| author | Max Howell | 2012-08-31 09:01:09 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-31 10:22:10 -0400 |
| commit | d4674292f0764f32c544ed1db006a89b6aa8f128 (patch) | |
| tree | d7e4dca09956c134bc81535bd7553d7da0bb552a /Library | |
| parent | 3c274e2ad06eca251203d8eaa4fe5dd4fe4972f1 (diff) | |
| download | homebrew-d4674292f0764f32c544ed1db006a89b6aa8f128.tar.bz2 | |
make -e has env-vars override Makefile vars
So the CC= in the Makefile is overridden by the $CC setting. I considered doing this generally, but as it stands we keep most of the user's environment in both superenv and stdenv so it's too risky. But I wanted to commit one example of it at least.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/sl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/sl.rb b/Library/Formula/sl.rb index cd5970532..12f233ea6 100644 --- a/Library/Formula/sl.rb +++ b/Library/Formula/sl.rb @@ -11,7 +11,7 @@ class Sl < Formula end def install - system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}" + system "make -e" bin.install "sl" man1.install "sl.1" end |
