jbigkit: pass vars directly to make

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-05-05 16:53:52 -05:00
parent 93b63e2743
commit 2c9d18901f

View file

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