Let's try if it works with fPIC.

This commit is contained in:
Susi Lehtola 2016-03-16 03:29:41 +01:00
parent 2ef5f34624
commit ad29f98b6d

View File

@ -333,9 +333,9 @@ TARGET="TARGET=POWER8 DYNAMIC_ARCH=0"
%if 0%{?rhel} == 5 %if 0%{?rhel} == 5
# Gfortran too old to recognize -frecursive # Gfortran too old to recognize -frecursive
FCOMMON="" FCOMMON="\"-frecursive -fPIC\""
%else %else
FCOMMON="\"-frecursive\"" FCOMMON="\"-frecursive -fPIC\""
%endif %endif
# Declare some necessary build flags # Declare some necessary build flags