Skip to content

Commit

Permalink
cmark: Update paths in build.sh (google#11480)
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Chang <[email protected]>
  • Loading branch information
nwellnhof and oliverchang authored Jan 17, 2024
1 parent ef16069 commit b487d00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/cmark/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ cmake ../
make cmark_static
cd ..

$CC $CFLAGS -Isrc -Ibuild/src -c test/cmark-fuzz.c -o cmark_fuzzer.o
$CC $CFLAGS -Isrc -Ibuild/src -c fuzz/cmark-fuzz.c -o cmark_fuzzer.o
$CXX $CXXFLAGS $LIB_FUZZING_ENGINE cmark_fuzzer.o build/src/libcmark.a -o $OUT/cmark_fuzzer
cp $SRC/*.options $OUT/
cp test/fuzzing_dictionary $OUT/cmark.dict
cp fuzz/dictionary $OUT/cmark.dict

mkdir -p corpus
python3 test/spec_tests.py --fuzz-corpus corpus --spec test/spec.txt
Expand Down

0 comments on commit b487d00

Please sign in to comment.