]> 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)
commit35c46bf545b31c961f216dd228bf9cba5499e5f0
treeb9bc9e50d15391a7db50afef02dc9fe44c1ef8b1
parent573cf5c9a152da1569b993600daa21ede30eeccb
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