From 01fe7151a99609d52c2658cb7aa3a5e6dc32e069 Mon Sep 17 00:00:00 2001
From: hrothgar <hrothgar@localhost.(none)>
Date: Thu, 4 Jun 2009 18:41:00 +0000
Subject: [PATCH] add compile options to debug

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 00c0f226c..9fc0caf00 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,8 @@
 # Copyright (C) 2009 Salvatore Sanfilippo <antirez at gmail dot com>
 # This file is released under the BSD license, see the COPYING file
 
-DEBUG?= -g
-CFLAGS?= -std=c99 -pedantic -O2 -Wall -W -DSDS_ABORT_ON_OOM
+DEBUG?= -g -rdynamic -ggdb 
+CFLAGS?= -std=c99 -pedantic -O0 -Wall -W -DSDS_ABORT_ON_OOM
 CCOPT= $(CFLAGS)
 
 OBJ = adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o