[24/62] collectd: Fix build with GCC 10

Message ID 20200816102953.3881-24-michael.tremer@ipfire.org
State Accepted
Commit 42823878bb60a2253e00c34f9ea16b40f0b8e414
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/collectd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/lfs/collectd b/lfs/collectd
index ad780f50d..e3fcc1013 100644
--- a/lfs/collectd
+++ b/lfs/collectd
@@ -36,7 +36,7 @@  PROG       = collectd
 
 DEPS       =
 
-CFLAGS    += -Wno-error=deprecated-declarations
+CFLAGS    += -fcommon -Wno-error=deprecated-declarations
 
 ###############################################################################
 # Top-level Rules