[PATCH 2 of 7] fuzz: fix the default make target
Yuya Nishihara
yuya at tcha.org
Sun Jun 3 02:43:40 EDT 2018
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1527999109 -32400
# Sun Jun 03 13:11:49 2018 +0900
# Node ID 6ff20cd82ede95c61dac43c18e799ec0a49b6f9c
# Parent 04b1b9799d2bf67135d4394476418324e074b408
fuzz: fix the default make target
diff --git a/contrib/fuzz/Makefile b/contrib/fuzz/Makefile
--- a/contrib/fuzz/Makefile
+++ b/contrib/fuzz/Makefile
@@ -1,6 +1,8 @@
CC = clang
CXX = clang++
+all: bdiff xdiff
+
fuzzutil.o: fuzzutil.cc fuzzutil.h
$(CXX) $(CXXFLAGS) -g -O1 -fsanitize=fuzzer-no-link,address \
-std=c++17 \
@@ -47,8 +49,6 @@ xdiff_fuzzer: xdiff.cc fuzz-xdiffi.o fuz
fuzz-xdiffi.o fuzz-xprepare.o fuzz-xutils.o fuzzutil-oss-fuzz.o \
-lFuzzingEngine -o $$OUT/xdiff_fuzzer
-all: bdiff xdiff
-
clean:
rm *.o *_fuzzer \
bdiff \
More information about the Mercurial-devel
mailing list