Skip to content

Commit 4917a6a

Browse files
committed
32 bit build fixed on Linux.
It failed because of the way jemalloc was compiled (without passing the right flags to make, but just to configure). Now the same set of flags are also passed to the make command, fixing the issue. This fixes issue redis#744
1 parent 47ff443 commit 4917a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ JEMALLOC_LDFLAGS= $(LDFLAGS)
7373
jemalloc: .make-prerequisites
7474
@printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR)
7575
cd jemalloc && ./configure --with-jemalloc-prefix=je_ --enable-cc-silence CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)"
76-
cd jemalloc && $(MAKE) lib/libjemalloc.a
76+
cd jemalloc && $(MAKE) CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" lib/libjemalloc.a
7777

7878
.PHONY: jemalloc

0 commit comments

Comments
 (0)