summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-02-18 19:10:17 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-02-18 19:10:17 +0000
commit03d714e770b62e0c53e5b6a7525e1964d1f66701 (patch)
tree2687d21533d81d1061866e981189d8467e9ba2fc
parentCHANGES: Document USES=elfctl (diff)
security/afl++: actually add -mno-relax for riscv64
-rw-r--r--security/afl++/Makefile1
1 files changed, 1 insertions, 0 deletions
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}