From: Sophie Brun <sophie@offensive-security.com>
Date: Tue, 15 Nov 2022 14:06:19 +0100
Subject: Do not ignore failing gcc_plugin build and install

afl++ silently drops gcc_plugin support when gcc-X-plugin-dev build
dependency not on the default gcc.
Do not ignore the failure.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023671
Forwarded: not-needed
---
 GNUmakefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 863b29d..a96c3de 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -353,7 +353,7 @@ llvm-build-test:
 .PHONY: gcc_plugin
 gcc_plugin:
 ifneq "$(SYS)" "Darwin"
-	-$(MAKE) -f GNUmakefile.gcc_plugin
+	$(MAKE) -f GNUmakefile.gcc_plugin
 endif
 
 .PHONY: man
@@ -855,7 +855,7 @@ install: all $(MANPAGES)
 	@if [ -f utils/aflpp_driver/libAFLQemuDriver.a ]; then set -e; install -m 644 utils/aflpp_driver/libAFLQemuDriver.a $${DESTDIR}$(HELPER_PATH); fi
 	-$(MAKE) -f GNUmakefile.llvm install
 ifneq "$(SYS)" "Darwin"
-	-$(MAKE) -f GNUmakefile.gcc_plugin install
+	$(MAKE) -f GNUmakefile.gcc_plugin install
 endif
 	ln -sf afl-cc $${DESTDIR}$(BIN_PATH)/afl-gcc
 	ln -sf afl-cc $${DESTDIR}$(BIN_PATH)/afl-g++
