Permalink
Browse files

Fix 32bit build of hiredis

  • Loading branch information...
antirez committed Feb 19, 2012
1 parent 11f0a23 commit 19fb7404a4892a2712ce6ffcc8cdc933c252ecf3
Showing with 2 additions and 2 deletions.
  1. +2 −2 deps/hiredis/Makefile
View
@@ -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

0 comments on commit 19fb740

Please sign in to comment.