diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-11-20 10:20:27 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2017-12-07 09:35:12 -0800 |
commit | fc547ad05e5a8e650ae5bc2ecc7d40e4dbcc9f0f (patch) | |
tree | 2564b9e98b3a1c0c9ceb5ccc3db87fa69fdb5165 /mesonbuild/backend/backends.py | |
parent | 4ae0cadb7f951691e2913a660a61d024d04b5485 (diff) | |
download | meson-fc547ad05e5a8e650ae5bc2ecc7d40e4dbcc9f0f.zip meson-fc547ad05e5a8e650ae5bc2ecc7d40e4dbcc9f0f.tar.gz meson-fc547ad05e5a8e650ae5bc2ecc7d40e4dbcc9f0f.tar.bz2 |
haiku: do not add pthread arguments
Haiku has pthreads, but they are part of the standard C library, and do
not need either special compiler or linker flags.
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r-- | mesonbuild/backend/backends.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index 067b719..f899735 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -509,7 +509,7 @@ class Backend: # For 'automagic' deps: Boost and GTest. Also dependency('threads'). # pkg-config puts the thread flags itself via `Cflags:` if dep.need_threads(): - commands += compiler.thread_flags() + commands += compiler.thread_flags(self.environment) # Fortran requires extra include directives. if compiler.language == 'fortran': for lt in target.link_targets: |