Debian Codegraph @

debian/patches/4-ldcfix.patch

raw
1 diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py
2 index 367355828..6cab9e8fc 100644
3 --- a/mesonbuild/compilers/d.py
4 +++ b/mesonbuild/compilers/d.py
5 @@ -402,6 +402,7 @@ class DCompiler(Compiler):
6 def _sanity_check_compile_args(self, sourcename: str, binname: str
7 ) -> T.Tuple[T.List[str], T.List[str]]:
8 args, largs = super()._sanity_check_compile_args(sourcename, binname)
9 + largs = self.unix_args_to_native(largs)
10 largs.extend(self._get_target_arch_args())
11 return args, largs
12