summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2009-06-07 14:00:31 +0200
committerantirez <antirez@gmail.com>2009-06-07 14:00:31 +0200
commit56906eefea4b77e1cd43d0b483d11470a3dab90d (patch)
tree6454395294a9609c8d63ac826ed37d26b8c79995 /Makefile
parentc4cd5f393ced23cb298c52eaa5ed67569d3f8d0d (diff)
downloadredis-56906eefea4b77e1cd43d0b483d11470a3dab90d.tar.gz
Dump a backtrace on sigsegv/sigbus, original coded thanks to Diego Rosario Brogna, modified in order to work on different OSes and to enhance reliability
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fda703e1e..4908de46a 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
# This file is released under the BSD license, see the COPYING file
DEBUG?= -g -rdynamic -ggdb
-CFLAGS?= -std=c99 -pedantic -O0 -Wall -W -DSDS_ABORT_ON_OOM
+CFLAGS?= -std=c99 -pedantic -O2 -Wall -W
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