From c28b27032b926c2e5ce70a6feefbad34fb753772 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 29 Jul 2022 17:46:37 +0200 Subject: [PATCH] package/pkg-autotools.mk: fix runtime path Commit 505b5a6cdd337c2fd5965aa875a1a53419d62ed1 wrongly stated that "a configure script bundled with a package may be generated with an older version of Autotools, that may not yet support the --runstatedir option. This will give an "Unsupported arguments" warning and the option will be ignored.". Indeed, this will raise the following build failure with attr, libtirpc, readline, etc.: configure: error: unrecognized option: `--runstatedir=/run' So to support configure scripts using older version, the variable is set directly instead of using the --runstatedir argument. Fixes: - http://autobuild.buildroot.org/results/c853f14773d875be30e32ae24daf80e181fef34e - http://autobuild.buildroot.org/results/045211cd66cf78c3d89d2d8ac41ec4edf0b0ee58 - http://autobuild.buildroot.org/results/8c5160eef99de2f1f72f33d5e5ea94d417855b2c Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/pkg-autotools.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk index 548f69cbb8..b6224b349d 100644 --- a/package/pkg-autotools.mk +++ b/package/pkg-autotools.mk @@ -187,7 +187,7 @@ define $(2)_CONFIGURE_CMDS --exec-prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --runstatedir=/run \ + runstatedir=/run \ --program-prefix="" \ --disable-gtk-doc \ --disable-gtk-doc-html \