aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/d.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-05-15 10:25:34 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2020-05-18 19:29:18 +0300
commit6fe68edbf889ac824a9f6d54009739577c047501 (patch)
treedfd08d3e7aaccf86fd1ed32771cf2451f08ac2b7 /mesonbuild/compilers/d.py
parentea04e9b0c1e9c7f073b0f8f1fcbea1413b4b4172 (diff)
downloadmeson-6fe68edbf889ac824a9f6d54009739577c047501.zip
meson-6fe68edbf889ac824a9f6d54009739577c047501.tar.gz
meson-6fe68edbf889ac824a9f6d54009739577c047501.tar.bz2
compilers/d: Enable pgo for GDC
Diffstat (limited to 'mesonbuild/compilers/d.py')
-rw-r--r--mesonbuild/compilers/d.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py
index a83e221..b8f29cc 100644
--- a/mesonbuild/compilers/d.py
+++ b/mesonbuild/compilers/d.py
@@ -645,7 +645,8 @@ class GnuDCompiler(GnuCompiler, DCompiler):
'1': default_warn_args,
'2': default_warn_args + ['-Wextra'],
'3': default_warn_args + ['-Wextra', '-Wpedantic']}
- self.base_options = ['b_colorout', 'b_sanitize', 'b_staticpic', 'b_vscrt', 'b_coverage']
+ self.base_options = ['b_colorout', 'b_sanitize', 'b_staticpic',
+ 'b_vscrt', 'b_coverage', 'b_pgo']
self._has_color_support = version_compare(self.version, '>=4.9')
# dependencies were implemented before, but broken - support was fixed in GCC 7.1+