summaryrefslogtreecommitdiff
path: root/databases/redis72/files/patch-deps-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/redis72/files/patch-deps-Makefile')
-rw-r--r--databases/redis72/files/patch-deps-Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/redis72/files/patch-deps-Makefile b/databases/redis72/files/patch-deps-Makefile
new file mode 100644
index 000000000000..33e36467dbca
--- /dev/null
+++ b/databases/redis72/files/patch-deps-Makefile
@@ -0,0 +1,21 @@
+--- deps/Makefile.orig 2023-07-10 11:55:20 UTC
++++ deps/Makefile
+@@ -84,7 +84,7 @@ LUA_LDFLAGS+= $(LDFLAGS)
+ ifeq ($(LUA_DEBUG),yes)
+ LUA_CFLAGS+= -O0 -g -DLUA_USE_APICHECK
+ else
+- LUA_CFLAGS+= -O2
++ LUA_CFLAGS+=
+ endif
+ ifeq ($(LUA_COVERAGE),yes)
+ LUA_CFLAGS += -fprofile-arcs -ftest-coverage
+@@ -112,7 +112,7 @@ endif
+
+ jemalloc: .make-prerequisites
+ @printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR)
+- cd jemalloc && ./configure --disable-cxx --with-version=5.3.0-0-g0 --with-lg-quantum=3 --disable-cache-oblivious --with-jemalloc-prefix=je_ CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" $(JEMALLOC_CONFIGURE_OPTS)
+- cd jemalloc && $(MAKE) lib/libjemalloc.a
++ cd jemalloc && ./configure --disable-cxx --with-version=5.3.0-0-g0 --with-lg-quantum=3 --disable-cache-oblivious --with-jemalloc-prefix=je_ CFLAGS="$(JEMALLOC_CFLAGS)" CXXFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" $(JEMALLOC_CONFIGURE_OPTS)
++ cd jemalloc && $(MAKE) CFLAGS="$(JEMALLOC_CFLAGS)" CXXFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" lib/libjemalloc.a
+
+ .PHONY: jemalloc