git: 4e73dc01b619 - main - security/afl++: enable on riscv64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 16 Feb 2022 16:52:20 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4e73dc01b619e3906a86a83372696eb5738cdbe5

commit 4e73dc01b619e3906a86a83372696eb5738cdbe5
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-02-16 16:49:44 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-02-16 16:49:44 +0000

    security/afl++: enable on riscv64
    
    -mno-relax is necessary:
    ld: error: afl-fuzz-cmplog.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
---
 security/afl++/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/afl++/Makefile b/security/afl++/Makefile
index dd12980653bb..9539f13c3b60 100644
--- a/security/afl++/Makefile
+++ b/security/afl++/Makefile
@@ -11,7 +11,7 @@ COMMENT=	Fast instrumented fuzzer
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/docs/COPYING
 
-ONLY_FOR_ARCHS=	aarch64 amd64 i386 powerpc powerpc64 powerpc64le
+ONLY_FOR_ARCHS=	aarch64 amd64 i386 powerpc powerpc64 powerpc64le riscv64
 ONLY_FOR_ARCHS_REASON=	uses x86-only instrumentation or requires complete LLVM support
 
 BUILD_DEPENDS=	ginstall:sysutils/coreutils