]> git.ipfire.org Git - thirdparty/glibc.git/commit
benchtests: Create objdir in the bench-%.c generation rule master
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 28 Jul 2026 14:27:33 +0000 (11:27 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 28 Jul 2026 16:27:49 +0000 (13:27 -0300)
commit26f0f2aa7d6ea63f85b5186349c41de2c91b4dd7
treec313b1c8517b7d96dd216b2821e68cfc2c5ac179
parent37a64a161856264cfbe060900e58b9feaac227a2
benchtests: Create objdir in the bench-%.c generation rule

The $(objpfx)bench-%.c rule writes its output into $(objpfx) without
ensuring that directory exists.  Serial builds happened to satisfy
that ordering, with parallel builds the generation recipe can
run before the directory is created, failing with:

  cannot create .../benchtests/bench-xxx.c-tmp: Directory nonexistent

Add the standard $(make-target-directory).

Reviewed-by: Florian Weimer <fweimer@redhat.com>
benchtests/Makefile