aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pngcrush.rb
diff options
context:
space:
mode:
authorMax Howell2009-07-31 01:28:27 +0100
committerMax Howell2009-07-31 01:28:27 +0100
commit05add0fa543a7cf599a4d9bc5273ed7c2a702583 (patch)
treed13849b8125685385fe0a3c8ad16bfffb563f663 /Library/Formula/pngcrush.rb
parentc4d8569b5b1bb002664acfbc0692f4fbda0d2e6f (diff)
downloadhomebrew-05add0fa543a7cf599a4d9bc5273ed7c2a702583.tar.bz2
Use our CFLAGS and LDFLAGS for pngcrush
Diffstat (limited to 'Library/Formula/pngcrush.rb')
-rw-r--r--Library/Formula/pngcrush.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/pngcrush.rb b/Library/Formula/pngcrush.rb
index 46e70c099..fca41470b 100644
--- a/Library/Formula/pngcrush.rb
+++ b/Library/Formula/pngcrush.rb
@@ -6,7 +6,11 @@ class Pngcrush <Formula
@md5='2cfe54e660e586a0302a6def1aa8b08e'
def install
+ # use our CFLAGS and LDFLAGS thanks :P
+ inreplace 'Makefile', 'CFLAGS = -I. -O3 -fomit-frame-pointer -Wall -Wshadow', ''
+ inreplace 'Makefile', 'LDFLAGS =', ''
+
system "make"
bin.install 'pngcrush'
end
-end \ No newline at end of file
+end