From 400429b4c43108fcabc2a9db6da0680f7b7b3938 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 4 Jan 2012 20:57:19 -0600 Subject: dos2unix: specify Homebrew's CC, CPP, and CFLAGS Signed-off-by: Jack Nagel --- Library/Formula/dos2unix.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3