libsvm: use our CFLAGS

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-04-13 20:38:23 -05:00
parent 2e36f1f7a6
commit 0de09900ff

View file

@ -9,7 +9,7 @@ class Libsvm < Formula
inreplace 'Makefile', '-soname', '-install_name'
inreplace 'Makefile', 'libsvm.so.$(SHVER)', 'libsvm.$(SHVER).dylib'
system "make"
system "make", "CFLAGS=#{ENV.cflags}"
system "make lib"
ln_s 'libsvm.2.dylib', 'libsvm.dylib'