summaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-03-04 17:08:21 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-03-04 17:08:21 +0800
commit1e1e477d850e325ed9df9981a21a1e1519d4f106 (patch)
treeac7a0491a66dde8130b00533a86551bc26fdc9ce /configure.ac
parent85eda7d94354c52e34107c5e9b64b55d6f7ee15b (diff)
set up CXX for fuzzing build
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d1b2602..c0bb8a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -329,6 +329,8 @@ AC_ARG_ENABLE(fuzz,
AC_DEFINE(DROPBEAR_FUZZ, 1, Fuzzing)
AC_MSG_NOTICE(Enabling fuzzing)
DROPBEAR_FUZZ=1
+ # libfuzzer needs linking with c++ libraries
+ AC_PROG_CXX
],
[
AC_DEFINE(DROPBEAR_FUZZ, 0, Fuzzing)
@@ -337,6 +339,7 @@ AC_ARG_ENABLE(fuzz,
)
AC_SUBST(DROPBEAR_FUZZ)
+AC_SUBST(CXX)
# Checks for header files.
AC_HEADER_STDC