diff options
Diffstat (limited to 'mesonbuild/linkers.py')
-rw-r--r-- | mesonbuild/linkers.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mesonbuild/linkers.py b/mesonbuild/linkers.py index 6ca7c03..84bfceb 100644 --- a/mesonbuild/linkers.py +++ b/mesonbuild/linkers.py @@ -580,6 +580,11 @@ class AppleDynamicLinker(PosixDynamicLinkerMixin, DynamicLinker): result.append(a) return result + def sanitizer_args(self, value: str) -> typing.List[str]: + if value == 'none': + return [] + return ['-fsanitize=' + value] + def no_undefined_args(self) -> typing.List[str]: return self._apply_prefix('-undefined,error') |