diff options
| author | Florian Weimer <fweimer@redhat.com> | 2025-03-21 21:40:28 +0100 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2025-03-21 21:40:28 +0100 |
| commit | c3410db9d0f941a6c464acabb8a63633ef614cbf (patch) | |
| tree | 8b7789fb7c5a615ebb99ec4c3aac798495232989 /Makerules | |
| parent | ed6a68bac7cd056abda9008019c71b167f0362dc (diff) | |
| download | glibc-c3410db9d0f941a6c464acabb8a63633ef614cbf.tar.xz glibc-c3410db9d0f941a6c464acabb8a63633ef614cbf.zip | |
Makeconfig: Support $(+nolink-deps) in link flags
This allows adding dependencies to rules, but not linking against
them.
This is more or less a reimplementation of .EXTRA_PREREQS feature from
GNU make 4.3.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'Makerules')
| -rw-r--r-- | Makerules | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -587,7 +587,7 @@ endef build-module-helper-objlist = \ $(patsubst %_pic.a,$(whole-archive) %_pic.a $(no-whole-archive),\ $(filter-out %.lds $(map-file) $(+preinit) $(+postinit) \ - $(elf-objpfx)sofini.os \ + $(elf-objpfx)sofini.os $(+nolink-deps) \ $(link-libc-deps),$^)) build-module-objlist = $(build-module-helper-objlist) $(LDLIBS-$(@F:%.so=%).so) |
