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 <quentin.schulz@cherry.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Quentin Schulz
2025-03-07 19:58:44 +01:00
committed by Thomas Petazzoni
parent 534147af94
commit 26077c2d41

View File

@@ -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))) \