projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dd09e8
)
Avoid adding -lgfortran with NOFORTRAN
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Wed, 27 Apr 2022 18:31:42 +0000
(20:31 +0200)
committer
GitHub
<noreply@github.com>
Wed, 27 Apr 2022 18:31:42 +0000
(20:31 +0200)
Makefile.system
patch
|
blob
|
history
diff --git
a/Makefile.system
b/Makefile.system
index
ac60eae
..
1d4ff6d
100644
(file)
--- a/
Makefile.system
+++ b/
Makefile.system
@@
-1041,9
+1041,11
@@
FCOMMON_OPT += -frecursive
# work around ABI problem with passing single-character arguments
FCOMMON_OPT += -fno-optimize-sibling-calls
#Don't include -lgfortran, when NO_LAPACK=1 or lsbcc
+ifneq ($(NOFORTRAN), 1)
ifneq ($(NO_LAPACK), 1)
EXTRALIB += -lgfortran
endif
+endif
ifdef NO_BINARY_MODE
ifeq ($(ARCH), $(filter $(ARCH),mips64))
ifdef BINARY64