]> git.baikalelectronics.ru Git - kernel.git/commit
perf build: Fix plugin static linking with libopencsd on ARM and ARM64
authorBranislav Rankov <branislav.rankov@arm.com>
Wed, 21 Jul 2021 10:32:58 +0000 (11:32 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 Oct 2021 17:48:10 +0000 (14:48 -0300)
commit60d79c7c301203ef356d46bb802b4637b2d708ab
treeb9bc9e50d15391a7db50afef02dc9fe44c1ef8b1
parent5f33193f9da9f3ad6cc01fb0d3db03a608602fe2
perf build: Fix plugin static linking with libopencsd on ARM and ARM64

Filter out -static flag when building plugins as they are always built
as dynamic libraries and -static and -dynamic don't work well together
on arm and arm64.

Signed-off-by: Branislav Rankov <branislav.rankov@arm.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Mark Brown <Mark.Brown@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: coresight@lists.linaro.org
Cc: nd@arm.com
Link: https://lore.kernel.org/r/e88952b3-2470-da96-dee9-e247a1759cd0@arm.com
Signed-off-by: Tamas Zsoldos <tamas.zsoldos@arm.com>
[ Split from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf