From 396cf8d0dbbcb4f8efbd198777f25318004d7bf3 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 1 May 2016 04:24:43 +0200 Subject: [PATCH] Turn on strict error checks during distcheck This would have found earlier things such as issue #6, and since it's only done in distcheck, doesn't impact normal users (for whom `-Werror` is a bit too strict). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5fd5907..e2c0e2a 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,7 @@ distcheck: dist DST="$$BASE/dst" && mkdir "$$DST" && \ tar xvf $(TARFILE) -C "$$SRC" && \ cd "$$SRC/$(RELEASEDIR)" && \ - make && ./mt --version && ./stinit --version && \ + make CFLAGS="-Wall -Wextra -Werror" && ./mt --version && ./stinit --version && \ make dist && \ make install DESTDIR="$$DST" && \ numfiles=$$( \