Build universal binaries on OSX by default
This commit is contained in:
parent
5fa8d30599
commit
46fdce7da0
1
Makefile
1
Makefile
@ -15,6 +15,7 @@ ifeq ($(uname_S),SunOS)
|
|||||||
STLIBNAME?=libhiredis.a
|
STLIBNAME?=libhiredis.a
|
||||||
STLIB_MAKE_CMD?=ar rcs ${STLIBNAME} ${OBJ}
|
STLIB_MAKE_CMD?=ar rcs ${STLIBNAME} ${OBJ}
|
||||||
else ifeq ($(uname_S),Darwin)
|
else ifeq ($(uname_S),Darwin)
|
||||||
|
ARCH?= -arch i386 -arch x86_64
|
||||||
CFLAGS?= -std=c99 -pedantic $(OPTIMIZATION) -fPIC -Wall -W -Wwrite-strings $(ARCH) $(PROF)
|
CFLAGS?= -std=c99 -pedantic $(OPTIMIZATION) -fPIC -Wall -W -Wwrite-strings $(ARCH) $(PROF)
|
||||||
CCLINK?= -lm -pthread
|
CCLINK?= -lm -pthread
|
||||||
DYLIBNAME?=libhiredis.dylib
|
DYLIBNAME?=libhiredis.dylib
|
||||||
|
Loading…
Reference in New Issue
Block a user