Re: [PATCH v2] perf build python: Don't leave a.out file when building with clang

From: Namhyung Kim

Date: Tue Oct 14 2025 - 10:05:19 EST


On Tue, Oct 07, 2025 at 08:38:35AM -0700, Ian Rogers wrote:
> Testing clang features doesn't specify a "-o" option so an a.out file
> is created and left in the make directory (not the output). Fix this
> by specifying a "-o" of "/dev/null". Reorganize the code a little to
> help with readability.
>
> Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
> Tested-by: Justin Stitt <justinstitt@xxxxxxxxxx>

Applied to perf-tools-next, thanks!

Best regards,
Namhyung