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

Sam James <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Organization Gentoo
Message-ID <[email protected]>
"H.J. Lu" <[email protected]> writes:

> commit 7cac99621e9601f916121bcaa9b7734a2e4c2529
> Author: Adhemerval Zanella <[email protected]>
> 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 <[email protected]>
signature.asc (application/pgp-signature, 418 B)
-----BEGIN PGP SIGNATURE-----

iQEBBAEWCgCpFiEEJaa7iN2bdkxrVUHCc4QJ9SDfkZAFAmpLZkYbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z
Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyNUE2QkI4OEREOUI3NjRDNkI1NTQx
QzI3Mzg0MDlGNTIwREY5MTkwDxxzYW1AZ2VudG9vLm9yZwAKCRBzhAn1IN+RkIba
AP4kr6wdUyK3ag6uIOsctGdO3Dh6OaK9g0OIgsmYJpR+VwEAvES6g5tozL0rWPzZ
9GkoG9A+Qi9ivloKFizBZ9iYWQs=
=rQF+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.