e3ced93adc
Disable debug flags. <ChangeLog> # UPGRADE URGENCY: HIGH * [FIX] Improved expired keys collection algorithm. Even under heavy load keys to be expired can't accumulate because of lack of CPU time. * [FIX] Replication speed regression fixed (issue #1238). * [FIX] Fixed an hard to trigger PSYNC bug. * [FIX] Fixed Issue #1240, ZUNIONSTORE could lead to wrong result. * [NEW] Add per-db average TTL information in INFO output. * [NEW] redis-benchmark improvements. * [NEW] dict.c API wrong usage detection. </ChangeLog>
30 lines
787 B
Text
30 lines
787 B
Text
--- src/Makefile.orig 2013-07-30 22:20:02.000000000 +0400
|
|
+++ src/Makefile 2013-08-13 22:36:30.000000000 +0400
|
|
@@ -22,7 +22,7 @@
|
|
WARN=-Wall
|
|
OPT=$(OPTIMIZATION)
|
|
|
|
-PREFIX?=/usr/local
|
|
+PREFIX:=$(PREFIX)
|
|
INSTALL_BIN=$(PREFIX)/bin
|
|
INSTALL=install
|
|
|
|
@@ -52,14 +52,15 @@
|
|
FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
|
|
FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
|
|
FINAL_LIBS=-lm
|
|
-DEBUG=-g -ggdb
|
|
+#DEBUG=-g -ggdb
|
|
|
|
ifeq ($(uname_S),SunOS)
|
|
INSTALL=cp -pf
|
|
FINAL_CFLAGS+= -D__EXTENSIONS__ -D_XPG6
|
|
FINAL_LIBS+= -ldl -lnsl -lsocket -lpthread
|
|
-else ifeq ($(uname_S),Darwin)
|
|
-
|
|
+else ifeq ($(uname_S),FreeBSD)
|
|
+ FINAL_CFLAGS?= $(CFLAGS) $(REDIS_CFLAGS) -I${PREFIX}/include
|
|
+ FINAL_LDFLAGS= $(LDFLAGS)
|
|
else
|
|
FINAL_LDFLAGS+= -rdynamic
|
|
FINAL_LIBS+= -pthread
|