aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-03-26 19:30:13 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-03-26 19:30:13 +0000
commit9b20764f35094963ecbfc40a972ef54443630447 (patch)
treeab76f3470a6a16e36e32d808f6d75f25389d4974 /meson.build
parentMerge branch 'buffer-size-multiple-of-scale-factor' (diff)
features: --version now logs +/-pgo
That is, whether the binary was compiled with PGO or not.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 01f27be9..e1b23102 100644
--- a/meson.build
+++ b/meson.build
@@ -24,6 +24,9 @@ add_project_arguments(
(get_option('ime')
? ['-DFOOT_IME_ENABLED=1']
: []) +
+ (get_option('b_pgo') == 'use'
+ ? ['-DFOOT_PGO_ENABLED=1']
+ : []) +
cc.get_supported_arguments(
['-pedantic',
'-fstrict-aliasing',