aboutsummaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-02 21:26:09 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-02 21:26:30 +0200
commitf2cabe04dc2630754e1583c56282920ea146c6d8 (patch)
tree10e7284ef46c397596bf68e653ca012641f3c3e1 /malloc
parentc999c38f6fe3626a8e58df15aae929c5348724e1 (diff)
downloadglibc-f2cabe04dc2630754e1583c56282920ea146c6d8.zip
glibc-f2cabe04dc2630754e1583c56282920ea146c6d8.tar.gz
glibc-f2cabe04dc2630754e1583c56282920ea146c6d8.tar.bz2
malloc: Really fix tst-memalign-3 link against threads
All the tst malloc variants need the thread linking flags.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index 41c4f33..21c5a7c 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -190,7 +190,6 @@ $(objpfx)tst-mallocfork2-malloc-hugetlb2: $(shared-thread-library)
$(objpfx)tst-mallocfork3-malloc-hugetlb2: $(shared-thread-library)
$(objpfx)tst-malloc-fork-deadlock-malloc-hugetlb2: $(shared-thread-library)
$(objpfx)tst-malloc-stats-cancellation-malloc-hugetlb2: $(shared-thread-library)
-$(objpfx)tst-memalign-3: $(shared-thread-library)
# These should be removed by `make clean'.
extra-objs = mcheck-init.o libmcheck.a
@@ -354,6 +353,8 @@ $(objpfx)tst-malloc-tcache-leak-malloc-hugetlb2: $(shared-thread-library)
$(objpfx)tst-malloc_info-malloc-hugetlb1: $(shared-thread-library)
$(objpfx)tst-malloc_info-malloc-hugetlb2: $(shared-thread-library)
$(objpfx)tst-memalign-3: $(shared-thread-library)
+$(objpfx)tst-memalign-3-malloc-hugetlb1: $(shared-thread-library)
+$(objpfx)tst-memalign-3-malloc-hugetlb2: $(shared-thread-library)
tst-compathooks-on-ENV = LD_PRELOAD=$(objpfx)libc_malloc_debug.so
tst-compathooks-on-mcheck-ENV = LD_PRELOAD=$(objpfx)libc_malloc_debug.so