From 0de09900ff0b536b9217dc59bf4473254cf64e47 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 13 Apr 2012 20:38:23 -0500 Subject: [PATCH] libsvm: use our CFLAGS Signed-off-by: Jack Nagel --- Formula/libsvm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/libsvm.rb b/Formula/libsvm.rb index a95647a51a..f2f0231018 100644 --- a/Formula/libsvm.rb +++ b/Formula/libsvm.rb @@ -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'