diff options
author | Matt Johnston <matt@ucc.asn.au> | 2017-05-13 23:46:01 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2017-05-13 23:46:01 +0800 |
commit | b9b308f2fee82a488b58ce33099abdbb9e44c34a (patch) | |
tree | 4affa3cb1ff306a82e3a6dd4816a84f420cb2076 /Makefile.in | |
parent | a7bfd792f732db76c80429b7ea6651f9df8b0b8b (diff) |
Use CXX to link fuzzer, also link with $FUZZLIB
--HG--
branch : fuzz
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index d94f87b..25e0293 100644 --- a/Makefile.in +++ b/Makefile.in @@ -231,7 +231,7 @@ svrfuzzobjs=$(subst svr-main.o, ,$(dropbearobjs)) 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 @@ fuzzstandalone: fuzz-harness.o fuzzers fuzzers: fuzzer-preauth fuzzer-preauth: fuzzer-preauth.o $(HEADERS) $(LIBTOM_DEPS) Makefile $(svrfuzzobjs) - $(CC) $@.o $(LDFLAGS) $(svrfuzzobjs) -o $@$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) @CRYPTLIB@ + $(CXX) $(CXXFLAGS) $@.o $(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. |