From 1d35f8e6fcb059fa7ea93faa1b2de47705d47d23 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Mon, 12 Jan 2026 13:51:36 +0000 Subject: [PATCH] Fuzzing: Fix fuzzer not being linked with CXX --- fuzzing/broker/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzzing/broker/Makefile b/fuzzing/broker/Makefile index dd4c74e2..d46c2b12 100644 --- a/fuzzing/broker/Makefile +++ b/fuzzing/broker/Makefile @@ -33,7 +33,7 @@ PACKET_FUZZERS:= \ all: $(FUZZERS) $(PACKET_FUZZERS) ${PACKET_FUZZERS} : %: %.cpp fuzz_packet_read_base.o ${R}/src/mosquitto_broker.a - $(CC) $(LOCAL_CFLAGS) $(LOCAL_CPPFLAGS) $(LOCAL_LDFLAGS) -o $@ $< fuzz_packet_read_base.o $(BROKER_A) $(LOCAL_LIBADD) + $(CXX) $(LOCAL_CXXFLAGS) $(LOCAL_CPPFLAGS) $(LOCAL_LDFLAGS) -o $@ $< fuzz_packet_read_base.o $(BROKER_A) $(LOCAL_LIBADD) install $@ ${OUT}/$@ fuzz_packet_read_base.o : fuzz_packet_read_base.c