From fb3d821afa86bc9b2e07f0140e7788e421769589 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 7 Apr 2025 10:41:38 +0200 Subject: [PATCH] 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). --- 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)