afl: don't strip testcase files

This commit is contained in:
Michael Gehring 2016-03-07 22:43:22 +01:00
parent a038eaba9a
commit bba9c3b995

View file

@ -1,7 +1,7 @@
# Template file for 'afl'
pkgname=afl
version=2.07b
revision=1
revision=2
build_style=gnu-makefile
make_build_args="PREFIX=/usr"
# x86 only currently
@ -13,6 +13,8 @@ homepage="http://lcamtuf.coredump.cx/afl/"
distfiles="http://lcamtuf.coredump.cx/afl/releases/afl-${version}.tgz"
checksum=9dd324bc3930ec1dbb44d00df8dcf8a3c8ca54b765665cc7f20b89e71d70b184
nostrip_files="small_archive.a small_exec.elf"
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
sed -i 's/^ \(LDFLAGS *+=\)/override \1/' Makefile