[PATCH] Makefile: Depend on elf/subdir_lib only if $(subdirs) has elf

Sam James sam@gentoo.org
Mon Jul 6 08:24:38 GMT 2026


"H.J. Lu" <hjl.tools@gmail.com> writes:

> commit 7cac99621e9601f916121bcaa9b7734a2e4c2529
> Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
> Date:   Wed Jun 10 16:26:15 2026 -0300
>
>     Makefile: Run the subdirectory recursion in parallel
>
> added:
>
> $(elf-objpfx)ld.so $(elf-objpfx)sofini.os $(elf-objpfx)interp.os: \
>   | elf/subdir_lib ;
>
> which doesn't work with
>
> $ make check -jN subdirs=DIR
>
> where DIR doesn't have elf.  Add such rule only if $(subdirs) has elf.
> This fixes BZ #34355.

LGTM, thanks.

Reviewed-by: Sam James <sam@gentoo.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 418 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260706/0ff47fcb/attachment.sig>


More information about the Libc-alpha mailing list