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
9cc83d2a
Commit
9cc83d2a
authored
Feb 24, 2017
by
Salvatore Sanfilippo
Committed by
antirez
Feb 23, 2017
Browse files
Makefile: fix building with Solaris C compiler, 64 bit.
parent
ed7e3310
Changes
1
Show whitespace changes
Inline
Side-by-side
src/Makefile
View file @
9cc83d2a
...
...
@@ -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