diff options
author | Thomas Haller <thaller@redhat.com> | 2014-07-08 13:21:20 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-07-08 16:26:14 +0200 |
commit | 97c7cc8b94caa7d48e8cc63e894ffc72f8230ec8 (patch) | |
tree | a446448c36ef2c41b5dcd6e45ec472c4015e2f6c /vapi | |
parent | da25a788fa27ac40ec2ede9372ba84be9e935806 (diff) | |
download | NetworkManager-97c7cc8b94caa7d48e8cc63e894ffc72f8230ec8.tar.gz |
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>
Diffstat (limited to 'vapi')
-rw-r--r-- | vapi/Makefile.vapigen | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vapi/Makefile.vapigen b/vapi/Makefile.vapigen index feb5633428..5163af13d3 100644 --- a/vapi/Makefile.vapigen +++ b/vapi/Makefile.vapigen @@ -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)) \ |