kumquat-buildroot/package/gcc
Nicolas Cavallari f7b9d3ad2b package/gcc: fix disabling the documentation
gcc.mk attempts to disable building the documentation by setting
MAKEINFO=missing, but it is not working.  If makeinfo is installed
and recent enough, gcc still uses it.  This can be checked easily:

grep BUILD_INFO='info' host-gcc-initial-*/build/gcc/config.log

It happens because the root ./configure script will check
$MAKEINFO --version (aka 'missing --version') and will overwrite it with
MAKEINFO='missing makeinfo' because the version does not match.

Having MAKEINFO='missing makeinfo' is a problem because
'missing makeinfo' will actually attempt to run 'makeinfo' before
failing with an error message.  If makeinfo is installed on the host,
then 'missing makeinfo' will successfully run makeinfo anyway.

Many gcc subprojects will check $MAKEINFO --version and enable building
the documentation if it is recent enough.  This patch overrides these
checks by forcing gcc_cv_prog_makeinfo_modern=no.

Building the GCC documentation can fail with the wrong makeinfo version.
It happened at least when building GCC 11.3.0 with makeinfo 7.1.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-26 16:37:29 +01:00
..
8.4.0
10.4.0
11.4.0
12.3.0
13.2.0
arc-2020.09-release
gcc-final package/gcc: Fix gcc finale library installation 2023-11-12 14:09:28 +01:00
gcc-initial package/gcc: add license information 2023-09-30 14:49:55 +02:00
Config.in package/gcc/gcc-final: add a target variant in charge of target installation 2023-09-30 14:49:51 +02:00
Config.in.host
gcc.hash package/gcc: add license information 2023-09-30 14:49:55 +02:00
gcc.mk package/gcc: fix disabling the documentation 2023-11-26 16:37:29 +01:00