aboutsummaryrefslogtreecommitdiff
path: root/main.c
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 /main.c
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 'main.c')
-rw-r--r--main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.c b/main.c
index 0941d3db..2c14d6d0 100644
--- a/main.c
+++ b/main.c
@@ -45,8 +45,10 @@ static const char *
version_and_features(void)
{
static char buf[256];
- snprintf(buf, sizeof(buf), "version: %s %cime",
- FOOT_VERSION, feature_ime() ? '+' : '-');
+ snprintf(buf, sizeof(buf), "version: %s %cime %cpgo",
+ FOOT_VERSION,
+ feature_ime() ? '+' : '-',
+ feature_pgo() ? '+' : '-');
return buf;
}