aboutsummaryrefslogtreecommitdiffstats
path: root/tests/osmo-pcap-test
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2012-07-09 19:43:16 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2012-07-12 13:01:33 +0200
commite53d2ed1725ee26d0774c9a09cdba03c1360ed81 (patch)
tree45ffc6898dd15842f80433724eb26c92640e84da /tests/osmo-pcap-test
parentefaae10304a43035e5727eaab6875a4c26e53579 (diff)
osmo-pcap-test: add -g compilation for debugging (valgrind) and use -losmonetif
Diffstat (limited to 'tests/osmo-pcap-test')
-rw-r--r--tests/osmo-pcap-test/Make_global.am2
-rw-r--r--tests/osmo-pcap-test/Makefile.am3
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/osmo-pcap-test/Make_global.am b/tests/osmo-pcap-test/Make_global.am
index b44fdfe..b07a99e 100644
--- a/tests/osmo-pcap-test/Make_global.am
+++ b/tests/osmo-pcap-test/Make_global.am
@@ -2,5 +2,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I../../../include
AM_CFLAGS = -std=gnu99 -W -Wall \
-Wmissing-prototypes -Wwrite-strings -Wcast-qual -Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wstrict-prototypes -Wundef \
- -Wno-unused-parameter \
+ -Wno-unused-parameter -g \
${LIBOSMOCORE_CFLAGS}
diff --git a/tests/osmo-pcap-test/Makefile.am b/tests/osmo-pcap-test/Makefile.am
index 6420faf..582cd5a 100644
--- a/tests/osmo-pcap-test/Makefile.am
+++ b/tests/osmo-pcap-test/Makefile.am
@@ -9,4 +9,5 @@ osmo_pcap_test_SOURCES = proto.c \
main.c
osmo_pcap_test_LDFLAGS = -lpcap \
- -losmocore
+ -losmocore \
+ -losmonetif