From e9a107a07c54c63a181eac9ffe4ed8c23f3c2f50 Mon Sep 17 00:00:00 2001 From: Andi Shyti Date: Fri, 26 Jul 2013 15:44:04 +0200 Subject: Makefile: consider warnings as errors use the -Werror gcc flag to compile Signed-off-by: Andi Shyti --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 64af1d8..fb44f84 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ BINDIR=bin INC=-Iinclude/ -I/usr/include/mysql OPT_DBG=-g OPT_OPT=-O2 -OPT=-Wall -DBIG_JOINS=1 -fno-strict-aliasing +OPT=-Wall -DBIG_JOINS=1 -fno-strict-aliasing -Werror LD=-lcrypto -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lm -lrt -ldl TARGET=accman -- cgit v1.2.3