From ad29f98b6d9b214855960827c4e85ab1953a6b2b Mon Sep 17 00:00:00 2001 From: Susi Lehtola Date: Wed, 16 Mar 2016 03:29:41 +0100 Subject: [PATCH] Let's try if it works with fPIC. --- openblas.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openblas.spec b/openblas.spec index 6d3a373..6872376 100644 --- a/openblas.spec +++ b/openblas.spec @@ -333,9 +333,9 @@ TARGET="TARGET=POWER8 DYNAMIC_ARCH=0" %if 0%{?rhel} == 5 # Gfortran too old to recognize -frecursive -FCOMMON="" +FCOMMON="\"-frecursive -fPIC\"" %else -FCOMMON="\"-frecursive\"" +FCOMMON="\"-frecursive -fPIC\"" %endif # Declare some necessary build flags