Patch GCC 4.7 for GCC 10

A couple of backports that ease the building of GCC 10.
This commit is contained in:
fosslinux 2023-01-27 17:01:03 +11:00
parent 712175af44
commit ca9d3aa51f
6 changed files with 360 additions and 3 deletions

View file

@ -867,6 +867,10 @@ gcc 4.7.4
GCC 4.7.4 is the last version written in C. This time we build both C and C++ backends.
C++ backend has some dependency on ``gperf`` which is written in C++. Fortunately, it is
easy to patch it out and resulting ``g++`` compiler is capable of building ``gperf``.
We also add in two patchsets to the compiler;
* one to add support for musl shared library support
* one providing a few compiler flags/features that are required later to build GCC 10
binutils 2.38
=============