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

From: Yonghong Song
Date: Sun Jun 25 2023 - 14:25:07 EST




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>