commit
a65c745d22
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'afl'
|
# Template file for 'afl'
|
||||||
pkgname=afl
|
pkgname=afl
|
||||||
version=2.08b
|
version=2.08b
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="PREFIX=/usr"
|
|
||||||
# x86 only currently
|
# x86 only currently
|
||||||
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
||||||
|
hostmakedepends="llvm clang"
|
||||||
short_desc="American fuzzy lop - a brute-force fuzzer"
|
short_desc="American fuzzy lop - a brute-force fuzzer"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
|
@ -15,7 +15,7 @@ checksum=268acb69ccdcfa07d72e33ea203818a01e81e84b423b4f0bfb56f8e04a358f88
|
||||||
|
|
||||||
nostrip_files="small_archive.a small_exec.elf"
|
nostrip_files="small_archive.a small_exec.elf"
|
||||||
|
|
||||||
pre_build() {
|
do_build() {
|
||||||
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
|
make PREFIX=/usr
|
||||||
sed -i 's/^ \(LDFLAGS *+=\)/override \1/' Makefile
|
make PREFIX=/usr CC=clang CXX=clang++ -C llvm_mode
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue