update fuzzer example makefile to clang16
This commit is contained in:
parent
fc332cb2d6
commit
698fe6fd61
|
@ -1,10 +1,10 @@
|
|||
# NB. libssh and libopenbsd-compat should be built with the same sanitizer opts.
|
||||
CC=clang-11
|
||||
CXX=clang++-11
|
||||
CC=clang-16
|
||||
CXX=clang++-16
|
||||
FUZZ_FLAGS=-fsanitize=address,fuzzer -fno-omit-frame-pointer
|
||||
FUZZ_LIBS=-lFuzzer
|
||||
FUZZ_LIBS=-L/usr/lib/llvm-16/lib -lFuzzer
|
||||
|
||||
CXXFLAGS=-O2 -g -Wall -Wextra -Wno-unused-parameter -I ../../.. $(FUZZ_FLAGS)
|
||||
CXXFLAGS=-O2 -g -Wall -Wextra -Wno-unused-parameter -Wno-exceptions -I ../../.. $(FUZZ_FLAGS)
|
||||
CFLAGS=$(CXXFLAGS)
|
||||
LDFLAGS=-L ../../.. -L ../../../openbsd-compat -g $(FUZZ_FLAGS)
|
||||
LIBS=-lssh -lopenbsd-compat -lmd -lcrypto -lfido2 -lcbor $(FUZZ_LIBS)
|
||||
|
|
Loading…
Reference in New Issue