From 2b177820f923cf76a9e6d4e82cdc007cf8603dfb Mon Sep 17 00:00:00 2001 From: jeffro256 Date: Wed, 28 Aug 2024 17:18:03 -0500 Subject: [PATCH] fuzz: fix `make fuzz` Set CMake variable `OSSFUZZ=ON` in Makefile `fuzz` target --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4bf3327ea..fdb8edc4f 100644 --- a/Makefile +++ b/Makefile @@ -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)"!" ; \