afl: fix build
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user