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:52:12 +0000 (10:52 -0500)
commitf0fc1799a9cbf402300b4469d4ada64e45aa8d89
treea64b9db090cdc589ed8bddabb84ec1f632829dd4
parentf5630de5c8309827e11720b797bcb09a1855fe97
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.027544 seconds and 4 git commands to generate.