From 87681980bc8f49d8f3dbbcb0db8944a487575e96 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 25 Apr 2024 12:27:07 -0700 Subject: compilers: pass Environment to openmp_flags This will be needed by the Apple compiler --- mesonbuild/linkers/linkers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/linkers/linkers.py') diff --git a/mesonbuild/linkers/linkers.py b/mesonbuild/linkers/linkers.py index 7507f5a..f5e8080 100644 --- a/mesonbuild/linkers/linkers.py +++ b/mesonbuild/linkers/linkers.py @@ -62,7 +62,7 @@ class StaticLinker: def thread_link_flags(self, env: 'Environment') -> T.List[str]: return [] - def openmp_flags(self) -> T.List[str]: + def openmp_flags(self, env: Environment) -> T.List[str]: return [] def get_option_link_args(self, options: 'KeyedOptionDictType') -> T.List[str]: -- cgit v1.1