afl: fix build

This commit is contained in:
Jürgen Buchmüller 2020-11-10 06:07:42 +01:00
parent a9b46a6be5
commit a7c44bcb7d

View file

@ -24,3 +24,10 @@ do_build() {
LDFLAGS="${LDFLAGS} -pie" \
make PREFIX=/usr CC=clang CXX=clang++ -C llvm_mode
}
post_install() {
# Test cases contain binary .../testcases/others/elf/small_exec.elf
# so move them to /usr/lib/afl
mv ${DESTDIR}/usr/{share,lib}/afl/testcases
}