build with debug by default
diff --git a/regress/repository/Makefile b/regress/repository/Makefile
index a1ba1ae..4fcfd48 100644
--- a/regress/repository/Makefile
+++ b/regress/repository/Makefile
@@ -6,6 +6,7 @@ SRCS = path.c repository.c error.c refs.c object.c sha1.c diff.c \
CPPFLAGS = -I${.CURDIR}/../../include
LDADD = -lutil -lz
+DEBUG = "-O0 -g"
NOMAN = yes