Browse Source

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.
bboozzoo/namespace-cleanup
Maciek Borzecki 9 years ago
parent
commit
b3e382d3a9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile.am

+ 1
- 1
Makefile.am View File

@ -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 $@


Loading…
Cancel
Save