abe59f
commit 80a08d0faa9b224019f895800c4d97de4e23e1aa
abe59f
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
abe59f
Date:   Wed Feb 2 14:03:58 2022 +0000
abe59f
abe59f
    Fix elf/tst-audit25a with default bind now toolchains
abe59f
    
abe59f
    This test relies on lazy binding for the executable so request that
abe59f
    explicitly in case the toolchain defaults to bind now.
abe59f
abe59f
diff --git a/elf/Makefile b/elf/Makefile
abe59f
index 78147ed2dbcaf4c0..4d16ed1637db8582 100644
abe59f
--- a/elf/Makefile
abe59f
+++ b/elf/Makefile
abe59f
@@ -2130,6 +2130,7 @@ $(objpfx)tst-audit25a: $(objpfx)tst-audit25mod1.so \
abe59f
 		       $(objpfx)tst-audit25mod2.so \
abe59f
 		       $(objpfx)tst-audit25mod3.so \
abe59f
 		       $(objpfx)tst-audit25mod4.so
abe59f
+LDFLAGS-tst-audit25a = -Wl,-z,lazy
abe59f
 $(objpfx)tst-audit25mod1.so: $(objpfx)tst-audit25mod3.so
abe59f
 LDFLAGS-tst-audit25mod1.so = -Wl,-z,now
abe59f
 $(objpfx)tst-audit25mod2.so: $(objpfx)tst-audit25mod4.so