From 46fdce7da0a66c80a73ca53f787ccb55730da948 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Mon, 1 Nov 2010 20:17:14 +0100 Subject: Build universal binaries on OSX by default --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 427e74f..25a599e 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3