From 4e1d0e4784e151c9bd7d6ba7e6eb385048dc56a7 Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Sun, 30 Oct 2022 11:56:55 +0100 Subject: emscripten: remove redundant `thread_flags` implementation Since it's the same as the one in `CLikeCompiler`. --- mesonbuild/compilers/mixins/emscripten.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'mesonbuild/compilers') 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 -- cgit v1.1