netlib-scalapack: fix build with gcc@14 (#44120)
This commit is contained in:
parent
a76f37da96
commit
574bd2db99
@ -42,7 +42,11 @@ class ScalapackBase(CMakePackage):
|
|||||||
|
|
||||||
def flag_handler(self, name, flags):
|
def flag_handler(self, name, flags):
|
||||||
iflags = []
|
iflags = []
|
||||||
if name == "fflags":
|
if name == "cflags":
|
||||||
|
if self.spec.satisfies("%gcc@14:"):
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2178710
|
||||||
|
iflags.append("-std=gnu89")
|
||||||
|
elif name == "fflags":
|
||||||
if self.spec.satisfies("%cce"):
|
if self.spec.satisfies("%cce"):
|
||||||
iflags.append("-hnopattern")
|
iflags.append("-hnopattern")
|
||||||
return (iflags, None, None)
|
return (iflags, None, None)
|
||||||
|
Loading…
Reference in New Issue
Block a user