]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove duplicates from binaries-shared-tests when creating make rules
authorAndreas Schwab <schwab@suse.de>
Mon, 7 Apr 2025 08:41:38 +0000 (10:41 +0200)
committerAndreas Schwab <schwab@suse.de>
Mon, 7 Apr 2025 11:00:52 +0000 (13:00 +0200)
This avoids a warning from make because binaries-shared-tests contains
both $(tests-container) and $(tests-internal).

Rules

diff --git a/Rules b/Rules
index c8adc00008d64ed6c925ca73f56edcf81c4fd60a..ae2307084561bad4947e056e4d62c9fe40d4832a 100644 (file)
--- 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)