summaryrefslogtreecommitdiff
path: root/elfutils/libelf/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'elfutils/libelf/Makefile.in')
-rw-r--r--elfutils/libelf/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/elfutils/libelf/Makefile.in b/elfutils/libelf/Makefile.in
index 8c2270e1..f612a28c 100644
--- a/elfutils/libelf/Makefile.in
+++ b/elfutils/libelf/Makefile.in
@@ -749,7 +749,7 @@ uninstall-am: uninstall-euincludeHEADERS uninstall-includeHEADERS \
@MUDFLAP_FALSE@libelf.so: libelf_pic.a libelf.map
@MUDFLAP_FALSE@ $(LINK) -shared -o $@ -Wl,--whole-archive,$<,--no-whole-archive \
@MUDFLAP_FALSE@ -Wl,--version-script,$(srcdir)/libelf.map,--no-undefined \
-@MUDFLAP_FALSE@ -Wl,--soname,$@.$(VERSION),-z,-defs
+@MUDFLAP_FALSE@ -Wl,--soname,$@.$(VERSION),-z,-defs,-z,relro
@MUDFLAP_FALSE@ if readelf -d $@ | fgrep -q TEXTREL; then exit 1; fi
@MUDFLAP_FALSE@ ln -fs $@ $@.$(VERSION)