aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKleis Auke Wolthuizen <github@kleisauke.nl>2022-10-30 11:56:55 +0100
committerEli Schwartz <eschwartz93@gmail.com>2022-12-27 06:59:55 -0500
commit4e1d0e4784e151c9bd7d6ba7e6eb385048dc56a7 (patch)
tree6e51f7722ceb5a294dc7daa147c60130e99be2d0
parent51ac9ed31783f55347e09ae8a80eaebec81e935c (diff)
downloadmeson-4e1d0e4784e151c9bd7d6ba7e6eb385048dc56a7.zip
meson-4e1d0e4784e151c9bd7d6ba7e6eb385048dc56a7.tar.gz
meson-4e1d0e4784e151c9bd7d6ba7e6eb385048dc56a7.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