mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 01:12:58 +02:00
afl++: build with llvm18, add aarch64
This commit is contained in:
parent
3a223630fa
commit
718665427e
1 changed files with 13 additions and 5 deletions
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'afl++'
|
# Template file for 'afl++'
|
||||||
pkgname=afl++
|
pkgname=afl++
|
||||||
version=4.21c
|
version=4.21c
|
||||||
revision=1
|
revision=2
|
||||||
# x86 only currently
|
archs="i686* x86_64* aarch64*"
|
||||||
archs="i686* x86_64*"
|
build_helper="qemu"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="which"
|
hostmakedepends="which"
|
||||||
makedepends="clang gmp-devel lld llvm llvm17-devel python3-devel"
|
makedepends="gmp-devel lld18 llvm18-devel python3-devel"
|
||||||
short_desc="American fuzzy lop Plus Plus - a brute-force fuzzer"
|
short_desc="American fuzzy lop Plus Plus - a brute-force fuzzer"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
|
@ -18,7 +18,15 @@ replaces="afl>=0"
|
||||||
|
|
||||||
nostrip_files="small_archive.a small_exec.elf"
|
nostrip_files="small_archive.a small_exec.elf"
|
||||||
|
|
||||||
export LLVM_CONFIG=llvm-config
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
export LLVM_CONFIG=${XBPS_CROSS_BASE}/usr/bin/llvm-config
|
||||||
|
else
|
||||||
|
export LLVM_CONFIG=llvm-config
|
||||||
|
fi
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
aarch64*) export AFL_NO_X86="YES" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Test cases contain binary .../testcases/others/elf/small_exec.elf
|
# Test cases contain binary .../testcases/others/elf/small_exec.elf
|
||||||
|
|
Loading…
Add table
Reference in a new issue