mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 12:00:11 +01:00
build: unset G_DEBUG variable before calling vapigen
Defining G_DEBUG=fatal-warnings is useful for debugging, but it causes the build to fail due to asserts during vapigen. Unset G_DEBUG before calling vapigen. Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
da25a788fa
commit
97c7cc8b94
1 changed files with 3 additions and 1 deletions
|
|
@ -49,7 +49,9 @@ _vapi_name = $(subst /,_,$(subst -,_,$(subst .,_,$(1))))
|
|||
|
||||
define vapigen
|
||||
$(1): $$($(_vapi_name)_GIR)
|
||||
$(_vapigen_silent_prefix) $(VAPIGEN) $(_vapigen_silent_opts) \
|
||||
$(_vapigen_silent_prefix) \
|
||||
G_DEBUG='' \
|
||||
$(VAPIGEN) $(_vapigen_silent_opts) \
|
||||
--library $(1:.vapi=) \
|
||||
$(foreach _vapi_metadatadir_name,$(if $($(_vapi_name)_METADATADIRS),$($(_vapi_name)_METADATADIRS),$(VAPIGEN_METADATADIRS)),--metadatadir $(_vapi_metadatadir_name)) \
|
||||
$(foreach _vapi_dir_name,$(if $($(_vapi_name)_VAPIDIRS),$($(_vapi_name)_VAPIDIRS),$(VAPIGEN_VAPIDIRS)),--vapidir $(_vapi_dir_name)) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue