Skip to content

Commit

Permalink
netlib-scalapack %cce: add cflags -Wno-error=implicit-function-declar…
Browse files Browse the repository at this point in the history
…ation (spack#47701)
  • Loading branch information
eugeneswalker authored Nov 20, 2024
1 parent a9b3e16 commit 29cf155
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions var/spack/repos/builtin/packages/netlib-scalapack/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ class ScalapackBase(CMakePackage):

def flag_handler(self, name, flags):
if name == "cflags":
if self.spec.satisfies("%cce"):
flags.append("-Wno-error=implicit-function-declaration")
if self.spec.satisfies("%gcc@14:"):
# https://bugzilla.redhat.com/show_bug.cgi?id=2178710
flags.append("-std=gnu89")
Expand Down

0 comments on commit 29cf155

Please sign in to comment.