Fix: build with -fno-common
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 16 Jan 2020 15:59:14 +0000 (10:59 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Jan 2020 15:51:30 +0000 (10:51 -0500)
commit21a934df4c683e73e0a66a9afca33573fcf9d789
tree1fb3e3398a46ff0bdbe6c0f0b273b0e56d432587
parent677423ebf26cc17916bddd0334b1a9f7614035c9
Fix: build with -fno-common

GCC 10 will default to building with -fno-common, this inhibits the
linker from merging multiple tentative definitions of a symbol in an
archive. Keep only the declaration in the libustsnprintf.la convenience
library.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I8fb7c72811ce7e62f10342f55fcabeeabfdd4c67
liblttng-ust-ctl/ustctl.c
liblttng-ust-fd/lttng-ust-fd.c
This page took 0.025849 seconds and 4 git commands to generate.