aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-01-04 20:57:19 -0600
committerJack Nagel2012-01-04 20:57:19 -0600
commit400429b4c43108fcabc2a9db6da0680f7b7b3938 (patch)
tree16eae8b5198fb622039c40fe751566e123777755 /Library
parent6fa995c71cf3495c70e1b887723358a74dd34081 (diff)
downloadhomebrew-400429b4c43108fcabc2a9db6da0680f7b7b3938.tar.bz2
dos2unix: specify Homebrew's CC, CPP, and CFLAGS
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/dos2unix.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/dos2unix.rb b/Library/Formula/dos2unix.rb
index 2c44de38c..bf52cdb6c 100644
--- a/Library/Formula/dos2unix.rb
+++ b/Library/Formula/dos2unix.rb
@@ -22,6 +22,9 @@ class Dos2unix < Formula
args << "ENABLE_NLS="
end
+ args << "CC=#{ENV.cc}"
+ args << "CPP=#{ENV.cc}"
+ args << "CFLAGS=#{ENV.cflags}"
args << "install"
system "make", *args