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

H.J. Lu hjl.tools@gmail.com
Mon Jul 6 02:35:31 GMT 2026


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.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Makefile-Depend-on-elf-subdir_lib-only-if-subdirs-ha.patch
Type: text/x-patch
Size: 1388 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260706/df479c85/attachment.bin>


More information about the Libc-alpha mailing list