From 9b20764f35094963ecbfc40a972ef54443630447 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 26 Mar 2021 20:30:13 +0100 Subject: features: --version now logs +/-pgo That is, whether the binary was compiled with PGO or not. --- main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'main.c') 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; } -- cgit v1.3