Skip to content

Commit

Permalink
security/afl++: actually add -mno-relax for riscv64
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj committed Feb 18, 2022
1 parent 2f02903 commit 03d714e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions security/afl++/Makefile
Expand Up @@ -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}
Expand Down

0 comments on commit 03d714e

Please sign in to comment.