build: Print toolchain in summary
authorTimm Bäder <mail@baedert.org>
Sun, 19 Sep 2021 08:52:36 +0000 (10:52 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 2 Oct 2021 07:08:14 +0000 (09:08 +0200)
Would be nice to print CFLAGS and LDFLAGS as well, but that's not as
easy.

meson.build

index dd6e9d647118b5a905b1d509ef72f20dafce74b6..bea2015429a6f55cb856d458de2c3e2bf71da299 100644 (file)
@@ -899,6 +899,9 @@ summary('Sysprof support', libsysprof_capture_dep.found(), section: 'Features')
 summary('Colord support', colord_dep.found(), section: 'Features')
 summary('Tracker support', tracker3_dep.found(), section: 'Features')
 
+summary('Compiler', cc.get_id(), section: 'Toolchain')
+summary('Linker', cc.get_linker_id(), section: 'Toolchain')
+
 # Build
 summary('Debugging', get_option('debug'), section: 'Build')
 summary('Optimization', get_option('optimization'), section: 'Build')