]> git.saurik.com Git - redis.git/commitdiff
Fix 32bit build of hiredis
authorantirez <antirez@gmail.com>
Sun, 19 Feb 2012 19:49:20 +0000 (20:49 +0100)
committerantirez <antirez@gmail.com>
Sun, 19 Feb 2012 19:49:20 +0000 (20:49 +0100)
deps/hiredis/Makefile

index 57f057ee10931d51f0d71b6fbf89a83e1cf2c031..16b8767b1478ae612ae882551379f1ae9fa0a5ef 100644 (file)
@@ -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