]> git.ipfire.org Git - thirdparty/openwrt.git/commit
tools: bison: do not install or uninstall macros 19606/head
authorMichael Pratt <mcpratt@pm.me>
Wed, 30 Jul 2025 18:44:16 +0000 (14:44 -0400)
committerNick Hainke <vincent@systemli.org>
Wed, 30 Jul 2025 21:06:30 +0000 (23:06 +0200)
commit66916096f3804f8c424828be9ad67f7812569a16
tree646fadfc8ff23d2e881bbc52802b6224131cd650
parentd802e6310a013a4255392c73967a243a773c8799
tools: bison: do not install or uninstall macros

There is a clobbering between bison and gnulib for installing
the macro file bison-i18n.m4 where gnulib has a newer version
while bison will replace it with an outdated version if built afterward.

Other builds depend on the changes made to the bison-i18n.m4 file and are
only included using aclocal unless other modifications are made in each case
in order to force imported macros from gnulib to override aclocal macros.

Gnulib is integrated within bison, however it is not with a bootstrap script
and there is already a reverse dependency between the two, where bison
is indirectly required for gnulib to start building. Therefore, do not allow
the building or cleaning of bison to install or uninstall m4 files.

Reported-by: Tianling Shen <cnsztl@immortalwrt.org>
Fixes: d19f8bc199 ("tools/gnulib: update to branch stable-202501")
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/19606
Signed-off-by: Nick Hainke <vincent@systemli.org>
tools/bison/Makefile