From 90beeea04fcdd39f966d1f49c78ebe2135286d06 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Tue, 12 May 2020 12:55:55 +0000 Subject: [PATCH] Fix building cpio with gcc 10 git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23110 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general/sysutils/cpio.xml | 6 ++++++ introduction/welcome/changelog.xml | 3 +++ 2 files changed, 9 insertions(+) diff --git a/general/sysutils/cpio.xml b/general/sysutils/cpio.xml index 0dcf00e316..70aa3c7eef 100644 --- a/general/sysutils/cpio.xml +++ b/general/sysutils/cpio.xml @@ -85,6 +85,12 @@ Installation of cpio + + First, fix a build issue when using GCC-10 and higher: + + +sed -i '/The name/,+2 d' src/global.c + Install cpio by running the following commands: diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 67ce10d0d6..a497c1fc9f 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -44,6 +44,9 @@ May 12th, 2020 + + [pierre] - Fix building cpio with gcc 10. + [pierre] - Fix building freeglut with gcc 10.