mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
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:
@ -540,10 +540,7 @@ libmutter_clutter_dep = declare_dependency(
|
||||
)
|
||||
|
||||
if have_introspection
|
||||
clutter_introspection_args = clutter_c_args + [
|
||||
'-U_GNU_SOURCE', # _GNU_SOURCE triggers warnings in g-ir-scanner
|
||||
'--quiet',
|
||||
]
|
||||
clutter_introspection_args = introspection_args + clutter_c_args
|
||||
|
||||
libmutter_clutter_gir = gnome.generate_gir(libmutter_clutter,
|
||||
sources: [
|
||||
|
Reference in New Issue
Block a user