projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc859c3
)
elf/tests: Make thrlock and noload depend on libm
author
Siddhesh Poyarekar
<siddhesh@sourceware.org>
Thu, 8 Jul 2021 08:09:19 +0000
(13:39 +0530)
committer
Siddhesh Poyarekar
<siddhesh@sourceware.org>
Thu, 8 Jul 2021 08:09:19 +0000
(13:39 +0530)
Both tests try to dlopen libm.so at runtime, so make them depend on it
so that they're executed if libm.so has been updated.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
elf/Makefile
patch
|
blob
|
history
diff --git
a/elf/Makefile
b/elf/Makefile
index b1e01d951699bf118e74729944577eae42965b59..4b320e8b3a84f6234abacbccdd8d22ddd91e5ac7 100644
(file)
--- a/
elf/Makefile
+++ b/
elf/Makefile
@@
-1281,6
+1281,8
@@
tst-leaks1-ENV = MALLOC_TRACE=$(objpfx)tst-leaks1.mtrace
tst-leaks1-static-ENV = MALLOC_TRACE=$(objpfx)tst-leaks1-static.mtrace
$(objpfx)tst-thrlock: $(shared-thread-library)
+$(objpfx)tst-thrlock.out: $(libm)
+$(objpfx)tst-noload.out: $(libm)
tst-tst-dlopen-tlsmodid-no-pie = yes
$(objpfx)tst-dlopen-tlsmodid: $(shared-thread-library)