cmark

My personal build of CMark ✏️

Commit
c6a8c30c228c32b3b32442eeb39d33b64db56f4f
Parent
5713f6b25adf37c528c73c34527a165c7ba68be8
Author
John MacFarlane <jgm@berkeley.edu>
Date

For afl target, don't build tests.

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified Makefile 2 1 1
diff --git 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 \