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
ba559326
Commit
ba559326
authored
Dec 23, 2010
by
Pieter Noordhuis
Browse files
Solaris doesn't support -rdynamic
parent
a1e97d69
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Makefile
View file @
ba559326
...
@@ -8,9 +8,11 @@ OPTIMIZATION?=-O2
...
@@ -8,9 +8,11 @@ OPTIMIZATION?=-O2
ifeq
($(uname_S),SunOS)
ifeq
($(uname_S),SunOS)
CFLAGS
?=
-std
=
c99
-pedantic
$(OPTIMIZATION)
-Wall
-W
-D__EXTENSIONS__
-D_XPG6
CFLAGS
?=
-std
=
c99
-pedantic
$(OPTIMIZATION)
-Wall
-W
-D__EXTENSIONS__
-D_XPG6
CCLINK
?=
-ldl
-lnsl
-lsocket
-lm
-lpthread
CCLINK
?=
-ldl
-lnsl
-lsocket
-lm
-lpthread
DEBUG
?=
-g
-ggdb
else
else
CFLAGS
?=
-std
=
c99
-pedantic
$(OPTIMIZATION)
-Wall
-W
$(ARCH)
$(PROF)
CFLAGS
?=
-std
=
c99
-pedantic
$(OPTIMIZATION)
-Wall
-W
$(ARCH)
$(PROF)
CCLINK
?=
-lm
-pthread
CCLINK
?=
-lm
-pthread
DEBUG
?=
-g
-rdynamic
-ggdb
endif
endif
ifeq
($(USE_TCMALLOC),yes)
ifeq
($(USE_TCMALLOC),yes)
...
@@ -18,7 +20,6 @@ ifeq ($(USE_TCMALLOC),yes)
...
@@ -18,7 +20,6 @@ ifeq ($(USE_TCMALLOC),yes)
CFLAGS
+=
-DUSE_TCMALLOC
CFLAGS
+=
-DUSE_TCMALLOC
endif
endif
CCOPT
=
$(CFLAGS)
$(CCLINK)
$(ARCH)
$(PROF)
CCOPT
=
$(CFLAGS)
$(CCLINK)
$(ARCH)
$(PROF)
DEBUG
?=
-g
-rdynamic
-ggdb
PREFIX
=
/usr/local
PREFIX
=
/usr/local
INSTALL_BIN
=
$(PREFIX)
/bin
INSTALL_BIN
=
$(PREFIX)
/bin
...
...
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