aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-12 12:49:17 -0700
committerKhem Raj <raj.khem@gmail.com>2020-08-13 22:32:07 -0700
commite24ea72c2bf402a106da30ab7415c31461921827 (patch)
tree1150ac853fc31a1fecb9877351b9c77a0496d697 /meta-networking/recipes-protocols
parent748aea615e1d15098a70ecbcaa898f43046cc8e6 (diff)
downloadmeta-openembedded-contrib-e24ea72c2bf402a106da30ab7415c31461921827.tar.gz
quagga: Use -fcommon to compile
clang11 and gcc10 have switched to using -fno-common by default this hoowever still needs to use -fcommon until fixed Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols')
-rw-r--r--meta-networking/recipes-protocols/quagga/quagga.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc
index 134a33d478..70c32b7a4e 100644
--- a/meta-networking/recipes-protocols/quagga/quagga.inc
+++ b/meta-networking/recipes-protocols/quagga/quagga.inc
@@ -42,6 +42,8 @@ PACKAGECONFIG[pam] = "--with-libpam, --without-libpam, libpam"
inherit autotools update-rc.d useradd systemd pkgconfig multilib_header
+CFLAGS += "-fcommon"
+
SYSTEMD_PACKAGES = "${PN} ${PN}-bgpd ${PN}-isisd ${PN}-ospf6d ${PN}-ospfd ${PN}-ripd ${PN}-ripngd"
SYSTEMD_SERVICE_${PN}-bgpd = "bgpd.service"
SYSTEMD_SERVICE_${PN}-isisd = "isisd.service"