[glibc] Remove duplicates from binaries-shared-tests when creating make rules
Andreas Schwab
schwab@sourceware.org
Mon Apr 7 11:02:39 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fb3d821afa86bc9b2e07f0140e7788e421769589
commit fb3d821afa86bc9b2e07f0140e7788e421769589
Author: Andreas Schwab <schwab@suse.de>
Date: Mon Apr 7 10:41:38 2025 +0200
Remove duplicates from binaries-shared-tests when creating make rules
This avoids a warning from make because binaries-shared-tests contains
both $(tests-container) and $(tests-internal).
Diff:
---
Rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Rules b/Rules
index c8adc00008..ae23070845 100644
--- a/Rules
+++ b/Rules
@@ -241,7 +241,7 @@ $(addprefix $(objpfx),$(binaries-shared-notests)): %: %.o \
endif
ifneq "$(strip $(binaries-shared-tests))" ""
-$(addprefix $(objpfx),$(binaries-shared-tests)): %: %.o \
+$(addprefix $(objpfx),$(sort $(binaries-shared-tests))): %: %.o \
$(link-extra-libs-tests) \
$(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
$(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
More information about the Glibc-cvs
mailing list