aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index 1e86978..a658554 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -1619,7 +1619,10 @@ class PGICompiler:
return ['-silent']
def openmp_flags(self):
- return ['-fopenmp']
+ return ['-mp']
+
+ def get_allow_undefined_link_args(self):
+ return []
class FlangCompiler:
@@ -1639,7 +1642,10 @@ class FlangCompiler:
return ['-silent']
def openmp_flags(self):
- return ['-fopenmp']
+ return ['-mp']
+
+ def get_allow_undefined_link_args(self):
+ return []
class ElbrusCompiler(GnuCompiler):