From: hrothgar Date: Thu, 4 Jun 2009 18:41:00 +0000 (+0000) Subject: add compile options to debug X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/01fe7151a99609d52c2658cb7aa3a5e6dc32e069 add compile options to debug --- diff --git a/Makefile b/Makefile index 00c0f226..9fc0caf0 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ # Copyright (C) 2009 Salvatore Sanfilippo # 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