qpid-proton: workaround #9857 and link ar and ranlib for afl (#9858)

* https://github.com/google/oss-fuzz/issues/9857
This commit is contained in:
Jiri Daněk 2023-03-06 15:25:59 +01:00 committed by GitHub
parent 0508e6cf17
commit dd66f15b20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@
#
################################################################################
# workaround https://github.com/google/oss-fuzz/issues/9857
ln -s /usr/local/bin/llvm-ar /src/aflplusplus/afl-llvm-ar
ln -s /usr/local/bin/llvm-ranlib /src/aflplusplus/afl-llvm-ranlib
mkdir build
pushd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_STATIC_LIBS=ON -DENABLE_FUZZ_TESTING=ON -DFUZZ_REGRESSION_TESTS=OFF