From 056b7dc8544e016660a52b816a89adfdcde1bb7c Mon Sep 17 00:00:00 2001 From: Guofang Date: Thu, 10 Sep 2026 08:48:50 +0800 Subject: [PATCH] Add CXXFLAGS to jemalloc configuration for static build --- debian13/Dockerfile | 2 +- rockylinux9/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian13/Dockerfile b/debian13/Dockerfile index feef00c..cff6bc8 100644 --- a/debian13/Dockerfile +++ b/debian13/Dockerfile @@ -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 \ && cd src \ && ./autogen.sh \ - && CFLAGS=-fPIC ./configure --prefix=/usr/local \ + && CFLAGS=-fPIC CXXFLAGS=-fPIC ./configure --prefix=/usr/local \ --disable-doc \ --disable-shared \ --enable-static \ diff --git a/rockylinux9/Dockerfile b/rockylinux9/Dockerfile index 70baf42..392ce68 100644 --- a/rockylinux9/Dockerfile +++ b/rockylinux9/Dockerfile @@ -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 \ && cd src \ && ./autogen.sh \ - && CFLAGS=-fPIC ./configure --prefix=/usr/local \ + && CFLAGS=-fPIC CXXFLAGS=-fPIC ./configure --prefix=/usr/local \ --disable-doc \ --disable-shared \ --enable-static \