aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKleis Auke Wolthuizen <github@kleisauke.nl>2022-10-30 11:56:55 +0100
committerNirbheek Chauhan <nirbheek@centricular.com>2023-02-06 23:37:24 +0530
commit70ea5a307dfcc8b136c6be5be61958afcce933ba (patch)
tree3fa70d8445b170a640c382b1e071a187ca1043c3
parent8110e79972f3bd3d6a531282ca6eff8aebed68b5 (diff)
downloadmeson-70ea5a307dfcc8b136c6be5be61958afcce933ba.zip
meson-70ea5a307dfcc8b136c6be5be61958afcce933ba.tar.gz
meson-70ea5a307dfcc8b136c6be5be61958afcce933ba.tar.bz2
emscripten: remove redundant `thread_flags` implementation
Since it's the same as the one in `CLikeCompiler`.
-rw-r--r--mesonbuild/compilers/mixins/emscripten.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/mesonbuild/compilers/mixins/emscripten.py b/mesonbuild/compilers/mixins/emscripten.py
index 44c57ae..a2de4e9 100644
--- a/mesonbuild/compilers/mixins/emscripten.py
+++ b/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