Skip to content

Commit f1187ea

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/rdb-cli/Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ $(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
13-
make -j$(SONIC_CONFIG_MAKE_JOBS)
13+
# Set WARNS=... to work around https://github.com/redis/librdb/issues/55
14+
make -j$(SONIC_CONFIG_MAKE_JOBS) WARNS='-Wall -Wextra -pedantic -flto=auto'
1415
mv bin/rdb-cli $(DEST)/

0 commit comments

Comments
 (0)