buildroot/package/gcc
Nicolas Cavallari b1a3096f1c 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>
(cherry picked from commit f7b9d3ad2b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-11-30 09:04:21 +01:00
..
8.4.0
10.4.0 package/gcc: remove gcc 10.x 2023-07-28 22:05:50 +02:00
11.4.0 package/gcc: fix missing .note.GNU-stack section 2023-09-17 08:29:52 +02:00
12.3.0 package/gcc: fix missing .note.GNU-stack section 2023-09-17 08:29:52 +02:00
13.2.0 package/gcc, .checkpackageignore: fix warnings about gcc 13.2.0 patches 2023-07-28 22:50:56 +02:00
arc-2020.09-release
gcc-final
gcc-initial package/gcc/gcc-initial: fix typo 2023-02-22 15:56:10 +01:00
Config.in.host package/gcc: remove gcc 10.x 2023-07-28 22:05:50 +02:00
gcc.hash package/gcc: add support for gcc 13 2023-07-28 22:04:50 +02:00
gcc.mk package/gcc: fix disabling the documentation 2023-11-30 09:04:21 +01:00