summaryrefslogtreecommitdiff
path: root/Makefile.system
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2019-10-24 22:43:27 +0200
committerGitHub <noreply@github.com>2019-10-24 22:43:27 +0200
commit911c3e2f4b4d557e8b65624beb90d5138289a4f3 (patch)
treedbff7e7bf0f4be7e73055863a3291b4df3ebaf20 /Makefile.system
parent3a39062cfca65ff97fdc9b9bf576395d4d12ccf6 (diff)
downloadopenblas-911c3e2f4b4d557e8b65624beb90d5138289a4f3.tar.gz
openblas-911c3e2f4b4d557e8b65624beb90d5138289a4f3.tar.bz2
openblas-911c3e2f4b4d557e8b65624beb90d5138289a4f3.zip
Improve support for g95 and non-GNU ld
Auto-add "-fno-second-underscore" option to make LAPACKE compile (as it calls LAPACK functions that may have gotten a second underscore added otherwise). Also support -R for rpath when parsing compiler directives in f_check
Diffstat (limited to 'Makefile.system')
-rw-r--r--Makefile.system3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.system b/Makefile.system
index 8843d0ad3..4cb4dc954 100644
--- a/Makefile.system
+++ b/Makefile.system
@@ -769,6 +769,9 @@ else
FCOMMON_OPT += -m32
endif
endif
+ifneq ($(NO_LAPACKE), 1)
+FCOMMON_OPT += -fno-second-underscore
+endif
endif
endif