hdf package: fix building with apple-clang@15: (#43964)

This commit is contained in:
Matthew Thompson 2024-05-03 19:11:55 -04:00 committed by GitHub
parent e05dbc529e
commit a1d69f8661
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -153,7 +153,7 @@ def flag_handler(self, name, flags):
): ):
flags.append("-Wno-error=implicit-function-declaration") 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") flags.append("-Wno-error=implicit-int")
return flags, None, None return flags, None, None