]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
malloc: Do not compile mcheck-init.o as libc module
authorFlorian Weimer <fweimer@redhat.com>
Mon, 16 Oct 2017 18:50:04 +0000 (20:50 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 16 Oct 2017 18:50:04 +0000 (20:50 +0200)
Otherwise, this will lead to a link failure because the reference
to mcheck is hidden.

ChangeLog
malloc/Makefile

index debac64d25adf09ef0a3e6f79eae3792ad9bcb38..c10cb9fd22e4266db237088e1e9c731da3ad7955 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-10-16  Florian Weimer  <fweimer@redhat.com>
+
+       * malloc/Makefile (others-extras): Set to mcheck-init.o.
+
 2017-10-16  Carlos O'Donell  <carlos@redhat.com>
 
        * include/shlib-compat.h (compat_symbol_reference): Update
index 6cf78e1177f3587039d296d2cb5a617dc1db50fe..7ae3d825b99f1e392fda6c21fddc534a62bf6fb4 100644 (file)
@@ -100,6 +100,7 @@ LDFLAGS-tst-mallocstate = -rdynamic
 
 # These should be removed by `make clean'.
 extra-objs = mcheck-init.o libmcheck.a
+others-extras = mcheck-init.o
 
 # Include the cleanup handler.
 aux := set-freeres thread-freeres