summaryrefslogtreecommitdiff
path: root/deps/hiredis
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2012-02-19 20:49:20 +0100
committerantirez <antirez@gmail.com>2012-02-19 20:49:20 +0100
commitad0df18fdc965183533515aae5e4e01009616c86 (patch)
tree556ed3bf7a1ff9e9cd910c424e017390ce149a3b /deps/hiredis
parent8e65b6a33d01f48f469735798806877e3168cb2c (diff)
downloadredis-ad0df18fdc965183533515aae5e4e01009616c86.tar.gz
Fix 32bit build of hiredis
Diffstat (limited to 'deps/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