[09/62] cpio: Package won't build with GCC 10 without -fcommon

Message ID 20200816102953.3881-9-michael.tremer@ipfire.org
State Accepted
Commit e35e1ca14bbf5a55aa4763ba5d8f178e19483d41
Headers
Series [01/62] bison: Update to 3.7.1 |

Commit Message

Michael Tremer Aug. 16, 2020, 10:29 a.m. UTC
  Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 lfs/cpio | 2 ++
 1 file changed, 2 insertions(+)
  

Patch

diff --git a/lfs/cpio b/lfs/cpio
index 02d72d038..5985cd565 100644
--- a/lfs/cpio
+++ b/lfs/cpio
@@ -32,6 +32,8 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
+CFLAGS    += -fcommon
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################