aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2012-08-31 09:01:09 -0400
committerMax Howell2012-08-31 10:22:10 -0400
commitd4674292f0764f32c544ed1db006a89b6aa8f128 (patch)
treed7e4dca09956c134bc81535bd7553d7da0bb552a
parent3c274e2ad06eca251203d8eaa4fe5dd4fe4972f1 (diff)
downloadhomebrew-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.
-rw-r--r--Library/Formula/sl.rb2
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