From c6a8c30c228c32b3b32442eeb39d33b64db56f4f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 7 Apr 2019 08:56:29 -0700 Subject: For afl target, don't build tests. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 47ac06f..84c2e2f 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ prof: afl: @[ -n "$(AFL_PATH)" ] || { echo '$$AFL_PATH not set'; false; } mkdir -p $(BUILDDIR) - cd $(BUILDDIR) && cmake .. -DCMAKE_C_COMPILER=$(AFL_PATH)/afl-clang + cd $(BUILDDIR) && cmake .. -DCMARK_TESTS=0 -DCMAKE_C_COMPILER=$(AFL_PATH)/afl-clang $(MAKE) $(AFL_PATH)/afl-fuzz \ -i test/afl_test_cases \ -- cgit v1.2.3