Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
42d6a6c3
Commit
42d6a6c3
authored
Feb 24, 2017
by
Salvatore Sanfilippo
Committed by
antirez
Mar 22, 2017
Browse files
Makefile: fix building with Solaris C compiler, 64 bit.
parent
e082d056
Changes
1
Show whitespace changes
Inline
Side-by-side
src/Makefile
View file @
42d6a6c3
...
...
@@ -65,6 +65,13 @@ DEBUG=-g -ggdb
ifeq
($(uname_S),SunOS)
# SunOS
ifneq
($(@@),32bit)
CFLAGS
+=
-m64
LDFLAGS
+=
-m64
endif
DEBUG
=
-g
DEBUG_FLAGS
=
-g
export
CFLAGS
LDFLAGS
DEBUG
DEBUG_FLAGS
INSTALL
=
cp
-pf
FINAL_CFLAGS
+=
-D__EXTENSIONS__
-D_XPG6
FINAL_LIBS
+=
-ldl
-lnsl
-lsocket
-lresolv
-lpthread
-lrt
...
...
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