Add CXXFLAGS to jemalloc configuration for static build

This commit is contained in:
Guofang committed 2026-09-10 08:48:50 +08:00
1 parent 951ebf0907
commit 056b7dc854
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -553,7 +553,7 @@ RUN git clone --branch=1.3.15 --depth=1 https://github.com/sewenew/redis-plus-pl
RUN git clone --branch=5.3.1 --depth=1 https://github.com/jemalloc/jemalloc.git src \ RUN git clone --branch=5.3.1 --depth=1 https://github.com/jemalloc/jemalloc.git src \
&& cd src \ && cd src \
&& ./autogen.sh \ && ./autogen.sh \
&& CFLAGS=-fPIC ./configure --prefix=/usr/local \ && CFLAGS=-fPIC CXXFLAGS=-fPIC ./configure --prefix=/usr/local \
--disable-doc \ --disable-doc \
--disable-shared \ --disable-shared \
--enable-static \ --enable-static \
+1 -1
View File
@@ -561,7 +561,7 @@ RUN git clone --branch=1.3.15 --depth=1 https://github.com/sewenew/redis-plus-pl
RUN git clone --branch=5.3.1 --depth=1 https://github.com/jemalloc/jemalloc.git src \ RUN git clone --branch=5.3.1 --depth=1 https://github.com/jemalloc/jemalloc.git src \
&& cd src \ && cd src \
&& ./autogen.sh \ && ./autogen.sh \
&& CFLAGS=-fPIC ./configure --prefix=/usr/local \ && CFLAGS=-fPIC CXXFLAGS=-fPIC ./configure --prefix=/usr/local \
--disable-doc \ --disable-doc \
--disable-shared \ --disable-shared \
--enable-static \ --enable-static \