summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2009-10-26 18:26:04 +0100
committerantirez <antirez@gmail.com>2009-10-26 18:26:04 +0100
commita7866db6cc5f68cd577bc9684d10bb048d63788f (patch)
tree858943db170e527d1fdb5d07f2af14af41391501 /Makefile
parent2161a9652725971e2602901410b4a5df0307f57e (diff)
downloadredis-a7866db6cc5f68cd577bc9684d10bb048d63788f.tar.gz
double serialization routines implemented
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 43d273237..330df7502 100644
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,10 @@
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
ifeq ($(uname_S),SunOS)
CFLAGS?= -std=c99 -pedantic -O2 -Wall -W -D__EXTENSIONS__ -D_XPG6
- CCLINK?= -ldl -lnsl -lsocket
+ CCLINK?= -ldl -lnsl -lsocket -lm
else
CFLAGS?= -std=c99 -pedantic -O2 -Wall -W
+ CCLINK?= -lm
endif
CCOPT= $(CFLAGS) $(CCLINK) $(ARCH)
DEBUG?= -g -rdynamic -ggdb