]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - Makefile
Linux: readdir64_r should not skip d_ino == 0 entries (bug 32126)
[thirdparty/glibc.git] / Makefile
index 7052b46df83ec25d70160dce4ec6c33086c72de6..c84f266ce74f04a6d36ca7c6e7a37b70d1d51891 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -577,6 +577,14 @@ $(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) -nostdlib -nostartfiles -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.
@@ -737,7 +745,7 @@ endif
 INSTALL: manual/install-plain.texi manual/macros.texi \
         $(common-objpfx)manual/pkgvers.texi manual/install.texi
        makeinfo --no-validate --plaintext --no-number-sections \
-                -I$(common-objpfx)manual $< -o $@-tmp
+                --disable-encoding -I$(common-objpfx)manual $< -o $@-tmp
        $(AWK) 'NF == 0 { ++n; next } \
                NF != 0 { while (n-- > 0) print ""; n = 0; print }' \
          < $@-tmp > $@-tmp2