From: antirez Date: Sun, 19 Feb 2012 19:49:20 +0000 (+0100) Subject: Fix 32bit build of hiredis X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/ad0df18fdc965183533515aae5e4e01009616c86?ds=inline Fix 32bit build of hiredis --- diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile index 57f057ee..16b8767b 100644 --- a/deps/hiredis/Makefile +++ b/deps/hiredis/Makefile @@ -15,8 +15,8 @@ CC:=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo gcc') OPTIMIZATION?=-O3 WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings DEBUG?= -g -ggdb -REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG) -REAL_LDFLAGS=$(LDFLAGS) +REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG) $(ARCH) +REAL_LDFLAGS=$(LDFLAGS) $(ARCH) DYLIBSUFFIX=so STLIBSUFFIX=a