Use our CFLAGS for dos2unix

master
Max Howell 2009-07-31 01:29:00 +01:00
parent 0696e671e9
commit 99ecbb09a2
1 changed files with 1 additions and 1 deletions

View File

@ -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