test/lib: build with -DEBUG
[petitboot] / test / lib / Makefile.am
index bfcf9c25efaf98463c6905b01b6ca0cd18a45881..16052c62eb116818351959f44f9b07237537b52a 100644 (file)
@@ -16,10 +16,9 @@ AUTOMAKE_OPTIONS = parallel-tests
 AM_CPPFLAGS = \
        -I$(top_srcdir) \
        -I$(top_srcdir)/lib \
-       $(DEFAULT_CPPFLAGS)
+       -DDEBUG
 
-AM_CFLAGS = \
-       $(DEFAULT_CFLAGS)
+AM_CFLAGS = -O0 -ggdb -Wall -Wextra -Werror
 
 list_test_SOURCES = list-test.c
 list_test_LDADD = ../../lib/libpbcore.la