Mercurial > dropbear
diff configure.ac @ 1582:68abf717328d
set up CXX for fuzzing build
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 04 Mar 2018 17:08:21 +0800 |
parents | ee7a546e3e6d |
children | e11ed628708b |
line wrap: on
line diff
--- a/configure.ac Sun Mar 04 15:18:20 2018 +0800 +++ b/configure.ac Sun Mar 04 17:08:21 2018 +0800 @@ -329,6 +329,8 @@ 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_SUBST(DROPBEAR_FUZZ) +AC_SUBST(CXX) # Checks for header files. AC_HEADER_STDC