afl: fix build
This commit is contained in:
parent
a9b46a6be5
commit
a7c44bcb7d
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue