From a4ae513d0df80820232116010fc3ecd277e53d1f Mon Sep 17 00:00:00 2001 From: Packit Service Date: Feb 03 2021 06:33:51 +0000 Subject: Apply patch glibc-rh1410154-11.patch patch_name: glibc-rh1410154-11.patch present_in_specfile: true location_in_specfile: 254 --- diff --git a/elf/Makefile b/elf/Makefile index bf7c41f..467e810 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -1543,8 +1543,11 @@ LDFLAGS-tst-finilazyfailmod.so = \ $(objpfx)tst-dlopenfail: $(libdl) $(objpfx)tst-dlopenfail.out: \ $(objpfx)tst-dlopenfailmod1.so $(objpfx)tst-dlopenfailmod2.so -# Order matters here. tst-dlopenfaillinkmod.so's soname ensures -# a run-time loader failure. +# Order matters here. tst-dlopenfaillinkmod.so's soname ensures a +# run-time loader failure. --as-needed breaks this test because +# nothing actually references tst-dlopenfailmod2.so (with its soname +# tst-dlopenfail-missingmod.so). +LDFLAGS-tst-dlopenfailmod1.so = -Wl,--no-as-needed $(objpfx)tst-dlopenfailmod1.so: \ $(shared-thread-library) $(objpfx)tst-dlopenfaillinkmod.so LDFLAGS-tst-dlopenfaillinkmod.so = -Wl,-soname,tst-dlopenfail-missingmod.so