diff options
| author | Kleis Auke Wolthuizen <github@kleisauke.nl> | 2022-10-30 11:56:55 +0100 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-12-27 06:59:55 -0500 |
| commit | 4e1d0e4784e151c9bd7d6ba7e6eb385048dc56a7 (patch) | |
| tree | 6e51f7722ceb5a294dc7daa147c60130e99be2d0 /mesonbuild/compilers/mixins/emscripten.py | |
| parent | 51ac9ed31783f55347e09ae8a80eaebec81e935c (diff) | |
| download | meson-4e1d0e4784e151c9bd7d6ba7e6eb385048dc56a7.tar.gz | |
emscripten: remove redundant `thread_flags` implementation
Since it's the same as the one in `CLikeCompiler`.
Diffstat (limited to 'mesonbuild/compilers/mixins/emscripten.py')
| -rw-r--r-- | mesonbuild/compilers/mixins/emscripten.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mesonbuild/compilers/mixins/emscripten.py b/mesonbuild/compilers/mixins/emscripten.py index 44c57ae43..a2de4e9ac 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 |
