about summary refs log tree commit diff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-04-26 07:16:56 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-04-26 07:16:56 +0200
commitc57afec0a9b318bb691e0f5fa4e9681cf30df7a4 (patch)
tree19a9110d1ada8f8a1fd2d4c894db0ea7247f11eb /elf/Makefile
parenta8ff215e56050a907189e713fd449bcafe99ff6b (diff)
downloadglibc-c57afec0a9b318bb691e0f5fa4e9681cf30df7a4.tar.gz
glibc-c57afec0a9b318bb691e0f5fa4e9681cf30df7a4.tar.xz
glibc-c57afec0a9b318bb691e0f5fa4e9681cf30df7a4.zip
elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now
The audit module itself can be linked with BIND_NOW; it does not
affect its functionality.

This should complete the leftovers from commit
2d6ab5df3b675e96ee587ae6a8c2ce004c6b1ba9 ("Document and fix
--enable-bind-now [BZ #21015]").
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 0b4a877880..4895489208 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -125,6 +125,7 @@ install-others += $(inst_auditdir)/sotruss-lib.so
 install-bin-script += sotruss
 generated += sotruss
 libof-sotruss-lib = extramodules
+LDFLAGS-sotruss-lib.so += $(z-now-$(bind-now))
 $(objpfx)sotruss-lib.so: $(objpfx)sotruss-lib.os
 	$(build-module-asneeded)
 $(objpfx)sotruss-lib.so: $(common-objpfx)libc.so $(objpfx)ld.so \