Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
452dea30
Commit
452dea30
authored
Dec 12, 2013
by
antirez
Browse files
Makefile: remove odd syntax not compatible with some make versions.
See issue #1448.
parent
62e49569
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Makefile
View file @
452dea30
...
...
@@ -55,15 +55,19 @@ FINAL_LIBS=-lm
DEBUG
=
-g
-ggdb
ifeq
($(uname_S),SunOS)
# 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),Darwin)
# Darwin (nothing to do)
else
# All the other OSes (notably Linux)
FINAL_LDFLAGS
+=
-rdynamic
FINAL_LIBS
+=
-pthread
endif
endif
# Include paths to dependencies
FINAL_CFLAGS
+=
-I
../deps/hiredis
-I
../deps/linenoise
-I
../deps/lua/src
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment