]> git.proxmox.com Git - mirror_iproute2.git/commit
build: fix build failure with -fno-common
authorJan Engelhardt <jengelh@inai.de>
Wed, 8 Jan 2020 10:04:24 +0000 (11:04 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 20 Jan 2020 17:40:59 +0000 (09:40 -0800)
commit31f45088c9c891542e38144d0a1bba124934693c
tree9b3fb012ad157bddca10b28f321827182b139499
parentf4d7ce9bfae9710fcb984f72d1119d8bf4ff2f8c
build: fix build failure with -fno-common

$ make CCOPTS=-fno-common
gcc ... -o ip
ld: rt_names.o (symbol from plugin): in function "rtnl_rtprot_n2a":
(.text+0x0): multiple definition of "numeric"; ip.o (symbol from plugin):(.text+0x0): first defined here

gcc ... -o tipc
ld: ../lib/libutil.a(utils.o):(.bss+0xc): multiple definition of `pretty';
tipc.o:tipc.c:28: first defined here

References: https://bugzilla.opensuse.org/1160244
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/rt_names.h
ip/ip.c
misc/ss.c
tc/tc.c
tipc/tipc.c