Browse Source

drop -Werror from DEBUG builds

Appease compilers. Thanks @glimberg for the diff.
Closes #1086
Dave Cottlehuber 5 years ago
parent
commit
8396f16dd2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      make-bsd.mk

+ 1 - 1
make-bsd.mk

@@ -13,7 +13,7 @@ ifeq ($(ZT_SANITIZE),1)
 endif
 endif
 # "make debug" is a shortcut for this
 # "make debug" is a shortcut for this
 ifeq ($(ZT_DEBUG),1)
 ifeq ($(ZT_DEBUG),1)
-	CFLAGS+=-Wall -Werror -g -pthread $(INCLUDES) $(DEFS)
+	CFLAGS+=-Wall -g -pthread $(INCLUDES) $(DEFS)
 	LDFLAGS+=
 	LDFLAGS+=
 	STRIP=echo
 	STRIP=echo
 	ZT_TRACE=1
 	ZT_TRACE=1