emscripten: remove redundant `thread_flags` implementation

Since it's the same as the one in `CLikeCompiler`.
pull/11219/head
Kleis Auke Wolthuizen 2 years ago committed by Eli Schwartz
parent 51ac9ed317
commit 4e1d0e4784
  1. 3
      mesonbuild/compilers/mixins/emscripten.py

@ -58,9 +58,6 @@ class EmscriptenMixin(Compiler):
suffix = 'o'
return os.path.join(dirname, 'output.' + suffix)
def thread_flags(self, env: 'Environment') -> T.List[str]:
return ['-pthread']
def thread_link_flags(self, env: 'Environment') -> T.List[str]:
args = ['-pthread']
count: int = env.coredata.options[OptionKey('thread_count', lang=self.language, machine=self.for_machine)].value

Loading…
Cancel
Save