git: 03d714e770b6 - main - security/afl++: actually add -mno-relax for riscv64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Feb 2022 19:12:57 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=03d714e770b62e0c53e5b6a7525e1964d1f66701
commit 03d714e770b62e0c53e5b6a7525e1964d1f66701
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-02-18 19:10:17 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-02-18 19:10:17 +0000
security/afl++: actually add -mno-relax for riscv64
---
security/afl++/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/security/afl++/Makefile b/security/afl++/Makefile
index 9539f13c3b60..5715f836f9fb 100644
--- a/security/afl++/Makefile
+++ b/security/afl++/Makefile
@@ -36,6 +36,7 @@ MAKEFILE= GNUmakefile
MAKE_ARGS= ${${ARCH} != amd64 && ${ARCH} != i386:?AFL_NO_X86=1:} \
PREFIX="${PREFIX}/${PKGBASE}"
.if ${FLAVOR} == llvm
+CFLAGS_riscv64= -mno-relax
MAKE_ARGS+= CC=clang${_LLVM_VER} \
CXX=clang++${_LLVM_VER} \
LLVM_CONFIG=llvm-config${_LLVM_VER}