superlu: do not build with -fPIC

Closes #23290.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
FX Coudert 2018-01-25 21:02:23 +01:00
parent fe174cbe7d
commit eca3c792ad

View file

@ -3,7 +3,7 @@ class Superlu < Formula
homepage "http://crd-legacy.lbl.gov/~xiaoye/SuperLU/"
url "http://crd-legacy.lbl.gov/~xiaoye/SuperLU/superlu_5.2.1.tar.gz"
sha256 "28fb66d6107ee66248d5cf508c79de03d0621852a0ddeba7301801d3d859f463"
revision 2
revision 3
bottle do
cellar :any_skip_relocation
@ -34,7 +34,6 @@ class Superlu < Formula
args = ["SuperLUroot=#{buildpath}",
"SUPERLULIB=$(SuperLUroot)/lib/libsuperlu.a",
"CC=#{ENV.cc}",
"CFLAGS=-fPIC #{ENV.cflags}",
"BLASLIB=#{blas}"]
args << "LOADOPTS=-fopenmp" if build.with?("openmp")