Re: [PATCH] perf: Replace deprecated -target with --target= for Clang

From: Namhyung Kim
Date: Tue Jun 27 2023 - 15:29:55 EST


Hi Fangui and Yonghong,

On Sun, Jun 25, 2023 at 11:25 AM Yonghong Song <yhs@xxxxxxxx> wrote:
>
>
>
> On 6/23/23 5:27 PM, Fangrui Song wrote:
> > -target has been deprecated since Clang 3.4 in 2013. Use the preferred
> > --target=bpf form instead. This matches how we use --target= in
> > scripts/Makefile.clang.
> >
> > Link: https://github.com/llvm/llvm-project/commit/274b6f0c87a6a1798de0a68135afc7f95def6277
> > Signed-off-by: Fangrui Song <maskray@xxxxxxxxxx>
>
> Acked-by: Yonghong Song <yhs@xxxxxx>

After 10 years of deprecation, time to change. :)

Applied to perf-tools-next, thanks!