summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-07-08 13:21:20 +0200
committerThomas Haller <thaller@redhat.com>2014-07-08 16:26:14 +0200
commit97c7cc8b94caa7d48e8cc63e894ffc72f8230ec8 (patch)
treea446448c36ef2c41b5dcd6e45ec472c4015e2f6c /vapi
parentda25a788fa27ac40ec2ede9372ba84be9e935806 (diff)
downloadNetworkManager-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.vapigen4
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)) \