From: Michael Jeanson Date: Thu, 16 Jan 2020 15:59:14 +0000 (-0500) Subject: Fix: build with -fno-common X-Git-Tag: v2.11.1~8 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=924c35aab1d0d31e9b651c6403cc7fa352e74242;hp=924c35aab1d0d31e9b651c6403cc7fa352e74242;p=lttng-ust.git 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 Signed-off-by: Mathieu Desnoyers Change-Id: I8fb7c72811ce7e62f10342f55fcabeeabfdd4c67 ---