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:
@@ -241,6 +241,11 @@ endif
|
||||
have_introspection = get_option('introspection')
|
||||
if have_introspection
|
||||
gobject_introspection_dep = dependency('gobject-introspection-1.0')
|
||||
|
||||
introspection_args = [
|
||||
'--quiet',
|
||||
'-U_GNU_SOURCE',
|
||||
]
|
||||
endif
|
||||
|
||||
have_cogl_tests = get_option('cogl_tests')
|
||||
|
Reference in New Issue
Block a user