Permalink
Browse files

It is now possible to build with: make 32bit USE_JEMALLOC=yes

  • Loading branch information...
1 parent 0042a2d commit 860e3ade2dbe14a922a99a2bf4cfa4e54277059a @antirez committed Jun 1, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Makefile
View
@@ -136,7 +136,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-benchmark.o:
$(CC) -c $(CFLAGS) -I../deps/hiredis $(DEBUG) $(COMPILE_TIME) $<
@@ -190,7 +190,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"

0 comments on commit 860e3ad

Please sign in to comment.