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:
@@ -49,7 +49,9 @@ _vapi_name = $(subst /,_,$(subst -,_,$(subst .,_,$(1))))
|
|||||||
|
|
||||||
define vapigen
|
define vapigen
|
||||||
$(1): $$($(_vapi_name)_GIR)
|
$(1): $$($(_vapi_name)_GIR)
|
||||||
$(_vapigen_silent_prefix) $(VAPIGEN) $(_vapigen_silent_opts) \
|
$(_vapigen_silent_prefix) \
|
||||||
|
G_DEBUG='' \
|
||||||
|
$(VAPIGEN) $(_vapigen_silent_opts) \
|
||||||
--library $(1:.vapi=) \
|
--library $(1:.vapi=) \
|
||||||
$(foreach _vapi_metadatadir_name,$(if $($(_vapi_name)_METADATADIRS),$($(_vapi_name)_METADATADIRS),$(VAPIGEN_METADATADIRS)),--metadatadir $(_vapi_metadatadir_name)) \
|
$(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)) \
|
$(foreach _vapi_dir_name,$(if $($(_vapi_name)_VAPIDIRS),$($(_vapi_name)_VAPIDIRS),$(VAPIGEN_VAPIDIRS)),--vapidir $(_vapi_dir_name)) \
|
||||||
|
Reference in New Issue
Block a user