diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-09-05 11:58:10 -0400 |
---|---|---|
committer | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-09-05 11:58:10 -0400 |
commit | b9af8f8b6b394903d64e4886712b38a056cd876f (patch) | |
tree | 7f43d4b3fd26468b3793c42e8fb00c3e5a62d120 | |
parent | 25653cac073f37de69fe3663343d40bd4896c7b5 (diff) | |
download | meson-b9af8f8b6b394903d64e4886712b38a056cd876f.zip meson-b9af8f8b6b394903d64e4886712b38a056cd876f.tar.gz meson-b9af8f8b6b394903d64e4886712b38a056cd876f.tar.bz2 |
PGI cannot accept -pthread
-rw-r--r-- | mesonbuild/compilers/mixins/pgi.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/compilers/mixins/pgi.py b/mesonbuild/compilers/mixins/pgi.py index a9e30b6..38c7ffd 100644 --- a/mesonbuild/compilers/mixins/pgi.py +++ b/mesonbuild/compilers/mixins/pgi.py @@ -97,3 +97,7 @@ class PGICompiler: '-I{}'.format(hdr.parent)] else: return [] + + def thread_flags(self, env): + # PGI cannot accept -pthread, it's already threaded + return [] |