mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
nptl: Make tst-tls3mod.so explicitly lazy
Fixes the following test-time errors, that lead to FAILs, on toolchains that set -z now out o the box, such as the one used on Gentoo Hardened: .../build-x86-x86_64-pc-linux-gnu-nptl $ grep '' nptl/tst-tls3*.out nptl/tst-tls3.out:dlopen failed nptl/tst-tls3-malloc.out:dlopen failed Reviewed-by: Florian Weimer <fweimer@redhat.com> Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
parent
3edc4ff2ce
commit
3edca7f545
@ -636,6 +636,7 @@ $(objpfx)tst-cleanup4: $(objpfx)tst-cleanup4aux.o
|
||||
$(objpfx)tst-cleanupx4: $(objpfx)tst-cleanupx4aux.o
|
||||
|
||||
LDFLAGS-tst-tls3 = -rdynamic
|
||||
LDFLAGS-tst-tls3mod.so = -Wl,-z,lazy
|
||||
$(objpfx)tst-tls3.out: $(objpfx)tst-tls3mod.so
|
||||
|
||||
LDFLAGS-tst-tls3-malloc = -rdynamic
|
||||
|
Loading…
Reference in New Issue
Block a user