summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhrothgar <hrothgar@localhost.(none)>2009-06-04 18:41:00 +0000
committerhrothgar <hrothgar@localhost.(none)>2009-06-04 18:41:00 +0000
commit01fe7151a99609d52c2658cb7aa3a5e6dc32e069 (patch)
tree1e9b0ce3bb58dc0e5075266d4827f897041e89f0 /Makefile
parentc9468bcf8a30d1a4c837814bc34d180f2dff992c (diff)
downloadredis-01fe7151a99609d52c2658cb7aa3a5e6dc32e069.tar.gz
add compile options to debug
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files 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