build: Always pass --quiet to g-ir-scanner

This makes the build less verbose, as all .gir generation except for
clutters didn't pass --quiet to g-ir-scanner, making it output long
linking commands. Do this by adding a common introspection_args
variable.

While at it, put -U_GNU_SOURCE in there too, as it was always passed
everywhere as without it the scanner would log warnings.
This commit is contained in:
Jonas Ådahl
2018-12-22 11:28:46 +01:00
parent d539fe28d5
commit f7d4a727a8
5 changed files with 9 additions and 11 deletions

View File

@ -820,9 +820,7 @@ if have_introspection
mutter_deps,
libmutter_dep,
],
extra_args: mutter_c_args + [
'-U_GNU_SOURCE',
],
extra_args: mutter_c_args + introspection_args,
install_dir_gir: pkglibdir,
install_dir_typelib: pkglibdir,
install: true