Commit c77214bb authored by Sören Tempel's avatar Sören Tempel

testing/afl: fix error during strip process on non intel platforms

parent 73233acb
......@@ -2,7 +2,7 @@
# Maintainer: Marian <m.buschsieweke@uni-muenster.de>
pkgname=afl
pkgver=2.41b
pkgrel=0
pkgrel=1
pkgdesc="American fuzzy lop - a fuzzer relying on genetic algorithms instead brute force"
url="http://lcamtuf.coredump.cx/afl/"
arch="all"
......@@ -32,9 +32,12 @@ package() {
rm -f "$pkgdir/usr/bin/afl-clang" "$pkgdir/usr/bin/afl-clang++" \
"$pkgdir/usr/bin/afl-gcc" "$pkgdir/usr/bin/afl-g++"
if [ "$CARCH" = "ppc64le" ]; then
rm -f "$pkgdir"/usr/share/afl/testcases/others/elf/small_exec.elf
fi
# small_exec.elf is an Intel binary which causes an error during
# the strip() process on non Intel plattforms.
case "$CARCH" in
x86*) ;;
*) rm -f "$pkgdir"/usr/share/afl/testcases/others/elf/small_exec.elf ;;
esac
}
sha512sums="e1af6e6c4dedcc3f7f17857bf45a2efeb64bdc51633003c5bd700c51eb30c72f1f4e7fed5f6570ec98ccbd22b54dbcf08cc3faec4d28004fe0fa863a4d7ea90f afl-2.41b.tgz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment