commit a5541d756b084b45215897628990a9631f876f83
parent cf1f3b23351415c136e90a1fc982687ebcc1a794
Author: MTRNord <mtrnord1@gmail.com>
Date: Mon, 14 Apr 2025 17:18:39 +0200
Try fuxing the botan configuration for the fuzzer
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/.clusterfuzzlite/build.sh b/.clusterfuzzlite/build.sh
@@ -2,20 +2,21 @@
export PKG_CONFIG="pkg-config --static"
export PKG_CONFIG_PATH="$WORK/lib/pkgconfig"
-export CPPFLAGS="-I$WORK/include"
-export LDFLAGS="-L$WORK/lib"
# Run as many parallel jobs as there are available CPU cores
export MAKEFLAGS="-j$(nproc)"
# botan
pushd ../botan
-./configure.py --prefix="${WORK}"
+./configure.py --prefix="${WORK}" --with-sanitizers
make
make install
cp build/botan-3.pc "${PKG_CONFIG_PATH}"
popd
+export CPPFLAGS="-I$WORK/include"
+export LDFLAGS="-L$WORK/lib"
+
# spank-olm
meson setup build --prefix="${WORK}" --libdir=lib --prefer-static --default-library=static --buildtype=debugoptimized \
-Dfuzzing_engine=oss-fuzz -Dfuzzer_ldflags="$LIB_FUZZING_ENGINE" -Db_lto=false -Db_thinlto_cache=false -Dbuild_tests=false \