From b3e382d3a92e3d70c3e83c14d1b65687ce76a7cd Mon Sep 17 00:00:00 2001 From: Maciek Borzecki Date: Sun, 1 Nov 2015 19:30:35 +0100 Subject: [PATCH] Makefile: use -g flag for valac This enables debugging with gdb. Without -g flag, the generated C code does not have file/line set, hence gdb has no way of telling the Vala code line the C code corresponds to. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index cd1e637..80a3396 100644 --- a/Makefile.am +++ b/Makefile.am @@ -62,7 +62,7 @@ test_mconn_crypt_vala_SOURCES = test/mconn-crypt-vala-test.vala test_mconn_crypt_vala_LDADD = $(MCONNECT_LIBS) libmconn-crypt.la test_mconn_crypt_vala_CFLAGS = $(MCONNECT_CFLAGS) -Isrc -I. -VALAFLAGS = $(MCONNECT_VALAFLAGS) --vapidir=. --pkg=mconn-crypt +VALAFLAGS = -g $(MCONNECT_VALAFLAGS) --vapidir=. --pkg=mconn-crypt mconn-crypt.gir: libmconn-crypt.la rm -f $@