summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2012-02-19 20:49:20 +0100
committerantirez <antirez@gmail.com>2012-02-21 10:12:02 +0100
commit19fb7404a4892a2712ce6ffcc8cdc933c252ecf3 (patch)
tree7c7cb404ed64bd1b3eb02c7201c205638bcf2a3c
parent11f0a23caf48fc541a0c7921e2e9d2c17be62009 (diff)
downloadredis-19fb7404a4892a2712ce6ffcc8cdc933c252ecf3.tar.gz
Fix 32bit build of hiredis
-rw-r--r--deps/hiredis/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile
index 57f057ee1..16b8767b1 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