summaryrefslogtreecommitdiffstats
path: root/libelf/Makefile.am
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2009-08-12 12:00:17 +0200
committerMark Wielaard <[email protected]>2009-08-12 12:00:17 +0200
commite2fedf4ad5d1eb7a68803714c645fa36aacb4b65 (patch)
tree0584292c68e534fa5fa661139fd2cd6541526718 /libelf/Makefile.am
parent08277bac843e776849e8282ba1c7a9d73cad0632 (diff)
Makefile.am (libelf.so): Use -Wl,-z,defs not -defs.
Diffstat (limited to 'libelf/Makefile.am')
-rw-r--r--libelf/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libelf/Makefile.am b/libelf/Makefile.am
index fbb19a63..2899043d 100644
--- a/libelf/Makefile.am
+++ b/libelf/Makefile.am
@@ -114,7 +114,7 @@ libelf_so_SOURCES =
libelf.so: libelf_pic.a libelf.map
$(LINK) -shared -o $@ -Wl,--whole-archive,$<,--no-whole-archive \
-Wl,--version-script,$(srcdir)/libelf.map,--no-undefined \
- -Wl,--soname,$@.$(VERSION),-z,-defs,-z,relro $(libelf_so_LDLIBS)
+ -Wl,--soname,$@.$(VERSION),-z,defs,-z,relro $(libelf_so_LDLIBS)
if readelf -d $@ | fgrep -q TEXTREL; then exit 1; fi
ln -fs $@ $@.$(VERSION)