From 385bd0e5a60b3bb2f780d1240a03c846b86d89f5 Mon Sep 17 00:00:00 2001 From: robertDurst Date: Mon, 26 Aug 2019 10:21:20 -0700 Subject: [PATCH] enable AFL_LLVM_MODE for afl-clang as part of configure.ac --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 628ca00a7e..b9f45cf7a6 100644 --- a/configure.ac +++ b/configure.ac @@ -196,7 +196,7 @@ AS_IF([test "x$enable_afl" = "xyes"], [ # below we hard code -std=c++14 since updates to AX_CXX_COMPILE_STDCXX circa 2015 append it to # CXX, not to CXXFLAGS and thus when setting CXX we override this. For a more detailed explanation # see: https://github.com/stellar/docker-stellar-core/pull/66#issuecomment-521886881 - CXX="afl-clang-fast++ -std=c++14"], + CXX="afl-clang-fast++ -std=c++14 -DAFL_LLVM_MODE=1"], [gcc*], [AC_CHECK_PROGS([AFL_GCC], [afl-gcc]) AC_CHECK_PROGS([AFL_GPP], [afl-g++]) CC="afl-gcc"