netlib-scalapack %cce: add cflags -Wno-error=implicit-function-declaration (#47701)
This commit is contained in:
parent
a9b3e1670b
commit
29cf1559cc
@ -42,6 +42,8 @@ class ScalapackBase(CMakePackage):
|
|||||||
|
|
||||||
def flag_handler(self, name, flags):
|
def flag_handler(self, name, flags):
|
||||||
if name == "cflags":
|
if name == "cflags":
|
||||||
|
if self.spec.satisfies("%cce"):
|
||||||
|
flags.append("-Wno-error=implicit-function-declaration")
|
||||||
if self.spec.satisfies("%gcc@14:"):
|
if self.spec.satisfies("%gcc@14:"):
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2178710
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2178710
|
||||||
flags.append("-std=gnu89")
|
flags.append("-std=gnu89")
|
||||||
|
Loading…
Reference in New Issue
Block a user