summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Shyti <andi@etezian.org>2013-07-26 15:44:04 +0200
committerAndi Shyti <andi@etezian.org>2013-07-26 15:44:04 +0200
commite9a107a07c54c63a181eac9ffe4ed8c23f3c2f50 (patch)
treefdb79dcbbcc011da52cde63774fc9eda62698887
parent159c57852827e79c7feba389d20bc4bc6db63160 (diff)
Makefile: consider warnings as errors
use the -Werror gcc flag to compile Signed-off-by: Andi Shyti <andi@etezian.org>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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