From 473af741c73337ee2a5ce2aefa4125b991defea5 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Thu, 16 Jun 2022 21:35:09 +0200 Subject: pcr: aflplusplus: Fix runtime dependencies for LTO Without ldb we have the following error when running ./configure with CC=afl-lto with source code that uses the autools build system: clang-13: error: invalid linker name in argument '--ld-path=/usr/bin/ld.lld' And without clang we can't even build a simple hello world: $ afl-lto ~/main.c afl-cc++4.00c by Michal Zalewski, Laszlo Szekeres, Marc Heuse - mode: LLVM-LTO-PCGUARD [-] PROGRAM ABORT : Oops, failed to execute '/usr/bin/clang' - check your PATH Location : main(), src/afl-cc.c:2145 Signed-off-by: Denis 'GNUtoo' Carikli --- pcr/aflplusplus/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pcr') diff --git a/pcr/aflplusplus/PKGBUILD b/pcr/aflplusplus/PKGBUILD index b6e2a8e64..2c423c200 100644 --- a/pcr/aflplusplus/PKGBUILD +++ b/pcr/aflplusplus/PKGBUILD @@ -9,14 +9,15 @@ pkgname=aflplusplus pkgver=4.00c -pkgrel=5 +pkgrel=6 pkgdesc="afl++ is afl with community patches, AFLfast power schedules, qemu 3.1 upgrade + laf-intel support, MOpt mutators, InsTrim instrumentation, unicorn_mode and a lot more!" arch=('armv7h' 'i686' 'x86_64') url="https://github.com/AFLplusplus/AFLplusplus" license=('Apache') provides=('afl') conflicts=('afl') -makedepends=('clang' 'lld' 'llvm' 'python') +depends=('clang' 'lld') +makedepends=('llvm' 'python') optdepends=('qemu: use QEMU with afl') source=("https://github.com/AFLplusplus/AFLplusplus/archive/${pkgver}.tar.gz") sha256sums=('f427294ed674e37d34a1b756a2190de17937e046ef21abb3ae37bba018a760f1') -- cgit v1.2.3