Fix building cpio with gcc 10

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23110 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2020-05-12 12:55:55 +00:00
parent 2d2261a284
commit 90beeea04f
2 changed files with 9 additions and 0 deletions

View File

@ -85,6 +85,12 @@
<sect2 role="installation">
<title>Installation of cpio</title>
<para>
First, fix a build issue when using GCC-10 and higher:
</para>
<screen><userinput>sed -i '/The name/,+2 d' src/global.c</userinput></screen>
<para>
Install <application>cpio</application> by running the following
commands:

View File

@ -44,6 +44,9 @@
<listitem>
<para>May 12th, 2020</para>
<itemizedlist>
<listitem>
<para>[pierre] - Fix building cpio with gcc 10.</para>
</listitem>
<listitem>
<para>[pierre] - Fix building freeglut with gcc 10.</para>
</listitem>