superlu-dist: -std=c99 prevents usage of putenv() (#40729)

This commit is contained in:
Satish Balay 2023-11-01 14:44:13 -05:00 committed by GitHub
parent 73f012b999
commit 9aa75eaf65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,8 +134,6 @@ def flag_handler(self, name, flags):
flags = list(flags) flags = list(flags)
if name == "cxxflags": if name == "cxxflags":
flags.append(self.compiler.cxx11_flag) flags.append(self.compiler.cxx11_flag)
if name == "cflags" and "%pgi" not in self.spec:
flags.append("-std=c99")
if ( if (
name == "cflags" name == "cflags"
and (self.spec.satisfies("%xl") or self.spec.satisfies("%xl_r")) and (self.spec.satisfies("%xl") or self.spec.satisfies("%xl_r"))