summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-06-16 21:35:09 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-06-17 00:26:04 +0200
commit473af741c73337ee2a5ce2aefa4125b991defea5 (patch)
treeb63e9a09c4fc0984c09e12fa660b899da3a300ba
parentc909aeba6ae5f93d9e510c883cf8ea6a32400c74 (diff)
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 <GNUtoo@cyberdimension.org>
-rw-r--r--pcr/aflplusplus/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
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')