Browse files

Use our CFLAGS for dos2unix

  • Loading branch information...
1 parent e49ac6f commit 4fb31b2c57cc1563f53a0459de9294c929105bb1 @mxcl mxcl committed Jul 31, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 4fb31b2

Please sign in to comment.