mgard: disable C++11 warning also for apple-clang@15 (#43170)

This commit is contained in:
Martin Aumüller 2024-03-20 00:27:42 +01:00 committed by GitHub
parent 33f6f55d6b
commit 3addda6c4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,6 +73,8 @@ def flag_handler(self, name, flags):
if name == "cxxflags":
if self.spec.satisfies("@2020-10-01 %oneapi@2023:"):
flags.append("-Wno-error=c++11-narrowing")
if self.spec.satisfies("@2020-10-01 %apple-clang@15:"):
flags.append("-Wno-error=c++11-narrowing")
return (flags, None, None)
def cmake_args(self):