suite-sparse: add flags for Fujitsu compilers (#20393)
This commit is contained in:
parent
b7d9e269ef
commit
4677674667
@ -119,8 +119,8 @@ def install(self, spec, prefix):
|
||||
# SuiteSparse defaults to using '-fno-common -fexceptions' in
|
||||
# CFLAGS, but not all compilers use the same flags for these
|
||||
# optimizations
|
||||
if any([x in spec
|
||||
for x in ('%apple-clang', '%clang', '%gcc', '%intel')]):
|
||||
if any([x in spec for x in
|
||||
('%apple-clang', '%clang', '%gcc', '%intel', '%fj')]):
|
||||
make_args += ['CFLAGS+=-fno-common -fexceptions']
|
||||
elif '%pgi' in spec:
|
||||
make_args += ['CFLAGS+=--exceptions']
|
||||
|
Loading…
Reference in New Issue
Block a user