diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-12-17 21:09:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-17 21:09:26 +0200 |
commit | a2a9611e1de9313770cc2ef8d6a363da6d8eb6dc (patch) | |
tree | 709d39603453ac6683efde7be81ac557a6818b4b /mesonbuild/linkers.py | |
parent | 8a57b608ad5d732f29a3d3da169b32d83600b42d (diff) | |
parent | 47dfe34c8517747d51ef063474e3594c487fde82 (diff) | |
download | meson-a2a9611e1de9313770cc2ef8d6a363da6d8eb6dc.zip meson-a2a9611e1de9313770cc2ef8d6a363da6d8eb6dc.tar.gz meson-a2a9611e1de9313770cc2ef8d6a363da6d8eb6dc.tar.bz2 |
Merge pull request #6065 from dcbaker/pass-options-to-linker-detection
Pass options to linker detection
Diffstat (limited to 'mesonbuild/linkers.py')
-rw-r--r-- | mesonbuild/linkers.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/mesonbuild/linkers.py b/mesonbuild/linkers.py index ab532a4..4dae5eb 100644 --- a/mesonbuild/linkers.py +++ b/mesonbuild/linkers.py @@ -344,10 +344,6 @@ class DynamicLinker(metaclass=abc.ABCMeta): raise mesonlib.EnvironmentException( 'Linker {} does not support allow undefined'.format(self.id)) - def invoked_by_compiler(self) -> bool: - """True if meson uses the compiler to invoke the linker.""" - return True - @abc.abstractmethod def get_output_args(self, outname: str) -> typing.List[str]: pass @@ -468,10 +464,6 @@ class GnuLikeDynamicLinkerMixin: return [] return ['-fsanitize=' + value] - def invoked_by_compiler(self) -> bool: - """True if meson uses the compiler to invoke the linker.""" - return True - def get_coverage_args(self) -> typing.List[str]: return ['--coverage'] @@ -787,7 +779,6 @@ class VisualStudioLikeLinkerMixin: def __init__(self, *args, direct: bool = True, machine: str = 'x86', **kwargs): super().__init__(*args, **kwargs) - self.direct = direct self.machine = machine def invoked_by_compiler(self) -> bool: |