Commit a92b0c17291b08d61cbe30b1e639a6331606218b

Stefan Sperling 2018-01-14T18:57:56

build with debug again (my commit adding -Werror broke this)

diff --git a/regress/packfiles/Makefile b/regress/packfiles/Makefile
index 53d4ac1..805d30c 100644
--- a/regress/packfiles/Makefile
+++ b/regress/packfiles/Makefile
@@ -4,9 +4,9 @@ PROG = packfile_test
 SRCS = error.c pack.c repository.c object.c path.c sha1.c packfile_test.c
 
 CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
-CFLAGS = -Werror
 LDADD = -lutil -lz
 DEBUG = -O0 -g
+CFLAGS += -Werror
 
 NOMAN = yes
 
diff --git a/regress/repository/Makefile b/regress/repository/Makefile
index d9852da..5ed8a9e 100644
--- a/regress/repository/Makefile
+++ b/regress/repository/Makefile
@@ -5,9 +5,9 @@ SRCS = path.c repository.c error.c refs.c object.c sha1.c diff.c \
 	diffreg.c xmalloc.c pack.c repository_test.c
 
 CPPFLAGS = -I${.CURDIR}/../../include
-CFLAGS = -Werror
 LDADD = -lutil -lz
 DEBUG = -O0 -g
+CFLAGS += -Werror
 
 NOMAN = yes