Implement get_linker_output_args in Emscripten compilers

pull/6042/head
Andrei Alexeyev 5 years ago committed by Dylan Baker
parent c20d40789b
commit dd162dccaa
  1. 3
      mesonbuild/compilers/c.py
  2. 3
      mesonbuild/compilers/cpp.py

@ -149,6 +149,9 @@ class EmscriptenCCompiler(LinkerEnvVarsMixin, BasicLinkerIsCompilerMixin, ClangC
def get_allow_undefined_link_args(self) -> typing.List[str]:
return ['-s', 'ERROR_ON_UNDEFINED_SYMBOLS=0']
def get_linker_output_args(self, output: str) -> typing.List[str]:
return ['-o', output]
class ArmclangCCompiler(ArmclangCompiler, CCompiler):
def __init__(self, exelist, version, for_machine: MachineChoice,

@ -219,6 +219,9 @@ class EmscriptenCPPCompiler(LinkerEnvVarsMixin, BasicLinkerIsCompilerMixin, Clan
def get_allow_undefined_link_args(self) -> typing.List[str]:
return ['-s', 'ERROR_ON_UNDEFINED_SYMBOLS=0']
def get_linker_output_args(self, output: str) -> typing.List[str]:
return ['-o', output]
class ArmclangCPPCompiler(ArmclangCompiler, CPPCompiler):
def __init__(self, exelist, version, for_machine: MachineChoice,

Loading…
Cancel
Save