]> git.saurik.com Git - redis.git/blobdiff - Makefile
Fixed issue 72 (SLAVEOF shutdowns redis-server on malformed reply)
[redis.git] / Makefile
index 330df7502965cdba7adbf147381b03f8f4e0bf3a..ba3d5009be469df0f43989369b279d85de65f8e0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ ifeq ($(uname_S),SunOS)
   CFLAGS?= -std=c99 -pedantic -O2 -Wall -W -D__EXTENSIONS__ -D_XPG6
   CCLINK?= -ldl -lnsl -lsocket -lm
 else
-  CFLAGS?= -std=c99 -pedantic -O2 -Wall -W
+  CFLAGS?= -std=c99 -pedantic -O2 -Wall -W $(ARCH)
   CCLINK?= -lm
 endif
 CCOPT= $(CFLAGS) $(CCLINK) $(ARCH)