From 26077c2d41cd8dc827b91d5345efbc43f7eca9ab Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Fri, 7 Mar 2025 19:58:44 +0100 Subject: [PATCH] package/setserial: autoreconfigure for compatibility with newer toolchains Newer toolchains silently fail during configure step. After some investigation, it is because -Wimplicit-int is returned for one of the simplest test from the in-package configure file and thus fail the configure step early, when checking if the compiler can produce an executable. Let's fix this by simply regenerating the configure file, similarly to what Debian is doing, c.f. debian/rules. Fixes: https://autobuild.buildroot.net/results/ff7a9c3c42f11a2ab71fb04ff0f6d593ac9ee327/ (but there are more build failures later, fixed in a follow-up commit) Signed-off-by: Quentin Schulz Signed-off-by: Thomas Petazzoni --- package/setserial/setserial.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/setserial/setserial.mk b/package/setserial/setserial.mk index 002bf21161..6567738e76 100644 --- a/package/setserial/setserial.mk +++ b/package/setserial/setserial.mk @@ -13,6 +13,8 @@ SETSERIAL_LICENSE_FILES = debian/copyright # make all also builds setserial.cat which needs nroff SETSERIAL_MAKE_OPTS = setserial +SETSERIAL_AUTORECONF = YES + # Extract the Debian tarball inside the sources define SETSERIAL_DEBIAN_EXTRACT $(call suitable-extractor,$(notdir $(SETSERIAL_EXTRA_DOWNLOADS))) \