diff options
| author | Jack Nagel | 2012-01-04 20:57:19 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-01-04 20:57:19 -0600 |
| commit | 400429b4c43108fcabc2a9db6da0680f7b7b3938 (patch) | |
| tree | 16eae8b5198fb622039c40fe751566e123777755 /Library | |
| parent | 6fa995c71cf3495c70e1b887723358a74dd34081 (diff) | |
| download | homebrew-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.rb | 3 |
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 |
