diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-09-14 14:36:47 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-09-16 20:28:56 -0700 |
commit | 4401668c9ac8c42d2e8633e32d168a2c5e1b0ee8 (patch) | |
tree | 9b5e2d4acef6431ee78600b6e8a1754d0a0d0e47 /mesonbuild/linkers.py | |
parent | 67ab2880dd976689c9f64f785cec243637e40d30 (diff) | |
download | meson-4401668c9ac8c42d2e8633e32d168a2c5e1b0ee8.zip meson-4401668c9ac8c42d2e8633e32d168a2c5e1b0ee8.tar.gz meson-4401668c9ac8c42d2e8633e32d168a2c5e1b0ee8.tar.bz2 |
linkers/compilers: Move an emscripten method to the compiler
This needed an attribute the linker doesn't have.
Diffstat (limited to 'mesonbuild/linkers.py')
-rw-r--r-- | mesonbuild/linkers.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mesonbuild/linkers.py b/mesonbuild/linkers.py index 54c81b4..fa8b326 100644 --- a/mesonbuild/linkers.py +++ b/mesonbuild/linkers.py @@ -780,13 +780,6 @@ class WASMDynamicLinker(GnuLikeDynamicLinkerMixin, PosixDynamicLinkerMixin, Dyna id = 'ld.wasm' - def thread_link_flags(self, env: 'Environment') -> T.List[str]: - args = ['-s', 'USE_PTHREADS=1'] - count = env.coredata.compiler_options[self.for_machine]['{}_thread_count'.format(self.language)].value # type: int - if count: - args.extend(['-s', 'PTHREAD_POOL_SIZE={}'.format(count)]) - return args - def get_allow_undefined_args(self) -> T.List[str]: return ['-s', 'ERROR_ON_UNDEFINED_SYMBOLS=0'] |