diff options
| author | Max Howell | 2009-07-31 01:29:00 +0100 |
|---|---|---|
| committer | Max Howell | 2009-07-31 01:29:00 +0100 |
| commit | 1d4e18988019e14e90646018072f83e988531820 (patch) | |
| tree | 13578d1510292881c66bece89383e5f63f1dd8a2 | |
| parent | 05add0fa543a7cf599a4d9bc5273ed7c2a702583 (diff) | |
| download | homebrew-1d4e18988019e14e90646018072f83e988531820.tar.bz2 | |
Use our CFLAGS for dos2unix
| -rw-r--r-- | Library/Formula/dos2unix.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/dos2unix.rb b/Library/Formula/dos2unix.rb index 9f26b5761..80db40798 100644 --- a/Library/Formula/dos2unix.rb +++ b/Library/Formula/dos2unix.rb @@ -8,7 +8,7 @@ class Dos2unix <Formula def install File.unlink 'dos2unix' # we don't use make as it doesn't optimise :P - system "gcc -O3 dos2unix.c -o dos2unix" + system "gcc #{ENV['CFLAGS']} dos2unix.c -o dos2unix" # make install is broken due to INSTALL file, but also it sucks so we'll do it # also Ruby 1.8 is broken, it won't allow you to move a symlink that's # target is invalid. FFS very dissapointed with dependability of |
