Skip to content

Commit 61dafe8

Browse files
committed
To fix: redis-cli build broken on Debian/Bookworm (librdb use-after-free)
#20757
1 parent c8e5888 commit 61dafe8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/rdb-cli/Makefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
88
rm -rf ./librdb
99
git clone https://github.com/redis/librdb.git
1010
pushd ./librdb/
11-
git checkout 2fdfc0c2bc914d643fe3f86e6715aeb843d8966e
11+
git checkout tags/v1.0.0
1212
git submodule update --init --recursive
1313
make -j$(SONIC_CONFIG_MAKE_JOBS)
14+
# Set WARNS=... to work around https://github.com/redis/librdb/issues/55
15+
make -j$(SONIC_CONFIG_MAKE_JOBS) WARNS='-Wall -Wextra -pedantic -flto=auto'
1416
mv bin/rdb-cli $(DEST)/

0 commit comments

Comments
 (0)