From e93d36a6388b4416cae4812a224dbf151aa4b5d7 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 1 Jun 2011 17:08:12 +0200 Subject: [PATCH] It is now possible to build with: make 32bit USE_JEMALLOC=yes --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 35ffb94a..ac54858a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -155,7 +155,7 @@ dependencies: @cd ../deps/linenoise && $(MAKE) ARCH="$(ARCH)" ../deps/jemalloc/lib/libjemalloc.a: - cd ../deps/jemalloc && ./configure --with-jemalloc-prefix=je_ --enable-cc-silence && $(MAKE) lib/libjemalloc.a + cd ../deps/jemalloc && ./configure $(JEMALLOC_CFLAGS) --with-jemalloc-prefix=je_ --enable-cc-silence && $(MAKE) lib/libjemalloc.a redis-server: $(OBJ) $(QUIET_CC)$(CC) -o $(PRGNAME) $(CCOPT) $(DEBUG) $(OBJ) $(CCLINK) $(ALLOC_LINK) @@ -203,7 +203,7 @@ log: @echo "" @echo "WARNING: if it fails under Linux you probably need to install libc6-dev-i386" @echo "" - $(MAKE) ARCH="-m32" + $(MAKE) ARCH="-m32" JEMALLOC_CFLAGS='CFLAGS="-std=gnu99 -Wall -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -m32"' gprof: $(MAKE) PROF="-pg" -- 2.45.2