From a1d69f86610924a0c1336dbda124824bc8fe05d9 Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Fri, 3 May 2024 19:11:55 -0400 Subject: [PATCH] hdf package: fix building with apple-clang@15: (#43964) --- var/spack/repos/builtin/packages/hdf/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/hdf/package.py b/var/spack/repos/builtin/packages/hdf/package.py index f9a97353d8..a3ccdf059b 100644 --- a/var/spack/repos/builtin/packages/hdf/package.py +++ b/var/spack/repos/builtin/packages/hdf/package.py @@ -153,7 +153,7 @@ def flag_handler(self, name, flags): ): flags.append("-Wno-error=implicit-function-declaration") - if self.spec.satisfies("%clang@16:"): + if self.spec.satisfies("%clang@16:") or self.spec.satisfies("%apple-clang@15:"): flags.append("-Wno-error=implicit-int") return flags, None, None