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
hiredis
Commits
46fdce7d
Commit
46fdce7d
authored
Nov 01, 2010
by
Pieter Noordhuis
Browse files
Build universal binaries on OSX by default
parent
5fa8d305
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
46fdce7d
...
...
@@ -15,6 +15,7 @@ ifeq ($(uname_S),SunOS)
STLIBNAME
?=
libhiredis.a
STLIB_MAKE_CMD
?=
ar rcs
${STLIBNAME}
${OBJ}
else
ifeq
($(uname_S),Darwin)
ARCH
?=
-arch
i386
-arch
x86_64
CFLAGS
?=
-std
=
c99
-pedantic
$(OPTIMIZATION)
-fPIC
-Wall
-W
-Wwrite-strings
$(ARCH)
$(PROF)
CCLINK
?=
-lm
-pthread
DYLIBNAME
?=
libhiredis.dylib
...
...
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