]> git.proxmox.com Git - mirror_frr.git/commit - ldpd/ldpe.h
ldpd: Fix linking error on Fedora Rawhide with GCC 10
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 8 Mar 2020 14:34:40 +0000 (15:34 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 8 Mar 2020 15:22:34 +0000 (16:22 +0100)
commit56b7d7252f13f3c90c824287b2441f13e2b0defe
tree4c0a51ecf44b50a2787bc0571547f5e8c747fb25
parenta9bc84da468c9578d2357e73fdb22d43a1b2255f
ldpd: Fix linking error on Fedora Rawhide with GCC 10

GCC 10 switched to -fno-common by default, see
https://gcc.gnu.org/gcc-10/porting_to.html#common for details.

Fixes:
  CCLD     ldpd/ldpd
/usr/bin/ld: ldpd/libldp.a(adjacency.o):/home/ruben/src/frr/ldpd/ldpe.h:294: multiple definition of `pkt_ptr'; ldpd/ldpd.o:/home/ruben/src/frr/ldpd/ldpe.h:294: first defined here

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
ldpd/ldpe.c
ldpd/ldpe.h