aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/jbigkit.rb
diff options
context:
space:
mode:
authorJack Nagel2012-05-05 16:53:52 -0500
committerJack Nagel2012-05-05 16:53:52 -0500
commit74319b17a54b0aa4ab227c438b64b31e235559eb (patch)
tree1f61ee59839a4b3758daa17c6c2147851736c0c9 /Library/Formula/jbigkit.rb
parentd888130a71c13f6394fe6b114f9b7525eed15480 (diff)
downloadhomebrew-74319b17a54b0aa4ab227c438b64b31e235559eb.tar.bz2
jbigkit: pass vars directly to make
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/jbigkit.rb')
-rw-r--r--Library/Formula/jbigkit.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/jbigkit.rb b/Library/Formula/jbigkit.rb
index b4b35075d..a18b212ee 100644
--- a/Library/Formula/jbigkit.rb
+++ b/Library/Formula/jbigkit.rb
@@ -15,8 +15,7 @@ class Jbigkit < Formula
# Set for a universal build and patch the Makefile.
# There's no configure. It creates a static lib.
ENV.universal_binary
- inreplace 'Makefile', "CCFLAGS = -O2 -W", "CCFLAGS = #{ENV.cflags}"
- system "make"
+ system "make", "CC=#{ENV.cc}", "CCFLAGS=#{ENV.cflags}"
# It needs j1 to make the tests happen in sequence.
ENV.deparallelize