fuzz: fix make fuzz

Set CMake variable `OSSFUZZ=ON` in Makefile `fuzz` target
This commit is contained in:
jeffro256 2024-08-28 17:18:03 -05:00
parent a1dc85c537
commit 2b177820f9
No known key found for this signature in database
GPG Key ID: 6F79797A6E392442

View File

@ -160,7 +160,7 @@ release-static-win32:
fuzz:
mkdir -p $(builddir)/fuzz
cd $(builddir)/fuzz && cmake -D STATIC=ON -D SANITIZE=ON -D BUILD_TESTS=ON -D USE_LTO=OFF -D CMAKE_C_COMPILER=afl-gcc -D CMAKE_CXX_COMPILER=afl-g++ -D ARCH="x86-64" -D CMAKE_BUILD_TYPE=fuzz -D BUILD_TAG="linux-x64" $(topdir) && $(MAKE)
cd $(builddir)/fuzz && cmake -D STATIC=ON -D OSSFUZZ=ON -D SANITIZE=ON -D BUILD_TESTS=ON -D USE_LTO=OFF -D CMAKE_C_COMPILER=afl-gcc -D CMAKE_CXX_COMPILER=afl-g++ -D ARCH="x86-64" -D CMAKE_BUILD_TYPE=fuzz -D BUILD_TAG="linux-x64" $(topdir) && $(MAKE)
clean:
@echo "WARNING: Back-up your wallet if it exists within ./"$(deldirs)"!" ; \