]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
cpio: Package won't build with GCC 10 without -fcommon
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 6 Aug 2020 14:03:45 +0000 (14:03 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Aug 2020 10:29:42 +0000 (10:29 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/cpio

index 02d72d038d69e2ce616705f602aa574d4e9acfb7..5985cd5659eeaee08099070630fd79148a7fff8e 100644 (file)
--- 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
 ###############################################################################