]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Revert "Add a test to check for duplicate definitions in the static library"
authorSam James <sam@gentoo.org>
Sat, 4 May 2024 12:28:13 +0000 (13:28 +0100)
committerSam James <sam@gentoo.org>
Sat, 4 May 2024 12:28:13 +0000 (13:28 +0100)
This reverts commit ff110b2591f0bdeccd121c3726af19c62d6fb184.

I had the wrong cherry-pick reference (the commit content is right; it's
just referring to a base that isn't upstream), but let's revert and reapply
for clarity.

Signed-off-by: Sam James <sam@gentoo.org>
Makefile

index 2e351c0321beb986b78181986259f5ad7217777d..7052b46df83ec25d70160dce4ec6c33086c72de6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -577,13 +577,6 @@ $(objpfx)lint-makefiles.out: scripts/lint-makefiles.sh
        $(SHELL) $< "$(PYTHON)" `pwd` > $@ ; \
        $(evaluate-test)
 
-# Link libc.a as a whole to verify that it does not contain multiple
-# definitions of any symbols.
-tests-special += $(objpfx)link-static-libc.out
-$(objpfx)link-static-libc.out:
-       $(LINK.o) $(whole-archive) -r $(objpfx)libc.a -o /dev/null > $@ 2>&1; \
-       $(evaluate-test)
-
 # Print test summary for tests in $1 .sum file;
 # $2 is optional test identifier.
 # Fail if there are unexpected failures in the test results.