Fix libcacard afl++ build. (#5125)

This commit is contained in:
Abhishek Arya 2021-02-05 07:27:03 -08:00 committed by GitHub
parent 1abfd6bd92
commit 0b8d8d6d04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@
#
################################################################################
# Workaround for fixing AFL++ build, discarded for others.
# See https://github.com/google/oss-fuzz/issues/4280#issuecomment-773977943
export AFL_LLVM_INSTRUMENT=CLASSIC,NGRAM-4
# Compile NSS
mkdir $SRC/nss-nspr
mv $SRC/nss $SRC/nss-nspr/