Revert "Remove BasicLinkerIsCompilerMixin from LDC and DMD"

This reverts commit 04d6a43945.
pull/6042/head
Andrei Alexeyev 5 years ago committed by Dylan Baker
parent 5e3eff9d72
commit af2c1e4eb7
  1. 4
      mesonbuild/compilers/d.py

@ -635,7 +635,7 @@ class GnuDCompiler(DCompiler, GnuCompiler):
return parameter_list
class LLVMDCompiler(DmdLikeCompilerMixin, LinkerEnvVarsMixin, DCompiler):
class LLVMDCompiler(DmdLikeCompilerMixin, LinkerEnvVarsMixin, BasicLinkerIsCompilerMixin, DCompiler):
def __init__(self, exelist, version, for_machine: MachineChoice,
info: 'MachineInfo', arch, **kwargs):
@ -674,7 +674,7 @@ class LLVMDCompiler(DmdLikeCompilerMixin, LinkerEnvVarsMixin, DCompiler):
return ldc_optimization_args[optimization_level]
class DmdDCompiler(DmdLikeCompilerMixin, LinkerEnvVarsMixin, DCompiler):
class DmdDCompiler(DmdLikeCompilerMixin, LinkerEnvVarsMixin, BasicLinkerIsCompilerMixin, DCompiler):
def __init__(self, exelist, version, for_machine: MachineChoice,
info: 'MachineInfo', arch, **kwargs):

Loading…
Cancel
Save