From 7aa82f920a74298aa6e38e68086248e124105617 Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Wed, 22 Jun 2022 13:45:31 -0200 Subject: [PATCH] rocksdb: fix build (#7905) Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47110 --- projects/rocksdb/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/rocksdb/build.sh b/projects/rocksdb/build.sh index e336559bd..64ce0583c 100755 --- a/projects/rocksdb/build.sh +++ b/projects/rocksdb/build.sh @@ -14,6 +14,9 @@ # ################################################################################ +export CFLAGS="${CFLAGS} -DNDEBUG" +export CXXFLAGS="${CXXFLAGS} -DNDEBUG" + cd $SRC/LPM export PKG_CONFIG_PATH=$PWD:$PWD/external.protobuf/lib/pkgconfig/ export PATH=$PWD/external.protobuf/bin:$PATH