mirror of
https://github.com/fluencelabs/redis
synced 2025-04-04 16:51:12 +00:00
Makefile: remove odd syntax not compatible with some make versions.
See issue #1448.
This commit is contained in:
parent
62e4956936
commit
452dea30f6
@ -55,15 +55,19 @@ FINAL_LIBS=-lm
|
|||||||
DEBUG=-g -ggdb
|
DEBUG=-g -ggdb
|
||||||
|
|
||||||
ifeq ($(uname_S),SunOS)
|
ifeq ($(uname_S),SunOS)
|
||||||
|
# SunOS
|
||||||
INSTALL=cp -pf
|
INSTALL=cp -pf
|
||||||
FINAL_CFLAGS+= -D__EXTENSIONS__ -D_XPG6
|
FINAL_CFLAGS+= -D__EXTENSIONS__ -D_XPG6
|
||||||
FINAL_LIBS+= -ldl -lnsl -lsocket -lpthread
|
FINAL_LIBS+= -ldl -lnsl -lsocket -lpthread
|
||||||
else ifeq ($(uname_S),Darwin)
|
|
||||||
|
|
||||||
else
|
else
|
||||||
|
ifeq ($(uname_S),Darwin)
|
||||||
|
# Darwin (nothing to do)
|
||||||
|
else
|
||||||
|
# All the other OSes (notably Linux)
|
||||||
FINAL_LDFLAGS+= -rdynamic
|
FINAL_LDFLAGS+= -rdynamic
|
||||||
FINAL_LIBS+= -pthread
|
FINAL_LIBS+= -pthread
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# Include paths to dependencies
|
# Include paths to dependencies
|
||||||
FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src
|
FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src
|
||||||
|
Loading…
x
Reference in New Issue
Block a user