Mercurial > dropbear
changeset 1351:68e0e396af80 fuzz
Use CXX to link fuzzer, also link with $FUZZLIB
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 13 May 2017 23:46:01 +0800 |
parents | 2722f2347a48 |
children | 66c1cfd5e100 |
files | Makefile.in |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Sat May 13 23:45:51 2017 +0800 +++ b/Makefile.in Sat May 13 23:46:01 2017 +0800 @@ -231,7 +231,7 @@ CLANG=clang # fuzzers that don't use libfuzzer, just a standalone harness that feeds inputs -fuzzstandalone: LIBS+=fuzz-harness.o +fuzzstandalone: FUZZLIB=fuzz-harness.o fuzzstandalone: fuzz-harness.o fuzzers # build all the fuzzers. This will require fail to link unless built with @@ -240,7 +240,7 @@ fuzzers: fuzzer-preauth fuzzer-preauth: fuzzer-preauth.o $(HEADERS) $(LIBTOM_DEPS) Makefile $(svrfuzzobjs) - $(CC) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) @CRYPTLIB@ + $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @CRYPTLIB@ # run this to update hardcoded hostkeys for for fuzzing. # hostkeys.c is checked in to hg.