From: Lucas De Marchi Date: Fri, 28 Feb 2025 14:44:55 +0000 (-0600) Subject: meson: Show compiler and linker in summary X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cec89a4efb4a6af2e8cde2bb7a71188d0bce14a;p=thirdparty%2Fkmod.git meson: Show compiler and linker in summary Make it easy to identify the compiler and linker being used. Signed-off-by: Lucas De Marchi --- diff --git a/meson.build b/meson.build index a4ffe972..8cfbf796 100644 --- a/meson.build +++ b/meson.build @@ -558,6 +558,10 @@ if get_option('docs') subdir('libkmod/docs') endif +# ------------------------------------------------------------------ +# summary +# ------------------------------------------------------------------ + summary({ 'prefix' : prefixdir, 'sysconfdir' : sysconfdir, @@ -592,3 +596,8 @@ summary({ summary({ 'features' : ' '.join(features) }, section : '') + +summary({ + 'Compiler' : cc.get_id() + ' (' + cc.version() + ')', + 'Linker' : cc.get_linker_id(), +}, section : 'Build tools')