I think this was possibly a typo (ALL_FCLAGS vs ALL_FCFLAGS), plus
those flags were never set for src/modules/lapack. Hence, this seems
like a better fix, that also adds the flags to src/extra/blas.
Best,
Gabor
diff --git a/src/extra/blas/Makefile.in b/src/extra/blas/Makefile.in
index 3661416..c9
More precisely the built-in Lapack module. AFAICT this is because the
f90 files are not compiled with -fpic. My output:
make[4]: Entering directory '/tmp/R-devel/src/modules/lapack'
gfortran -fpic -g -O2 -msse2 -mfpmath=sse -c dlamch.f -o dlamch.o
gfortran -fpic -g -O2 -c dlapack.f -o dlapack