diff options
Diffstat (limited to 'libelf')
| -rw-r--r-- | libelf/ChangeLog | 4 | ||||
| -rw-r--r-- | libelf/Makefile.am | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/libelf/ChangeLog b/libelf/ChangeLog index 6c8b5b1e..17b7136e 100644 --- a/libelf/ChangeLog +++ b/libelf/ChangeLog @@ -1,3 +1,7 @@ +2005-08-28 Ulrich Drepper <[email protected]> + + * Makefile.am: Use $(LINK) not $(CC) when creating DSO. + 2005-08-27 Ulrich Drepper <[email protected]> * elf_begin.c (file_read_elf): Avoid reading ELF header from file diff --git a/libelf/Makefile.am b/libelf/Makefile.am index 28d0d6ed..17851fc5 100644 --- a/libelf/Makefile.am +++ b/libelf/Makefile.am @@ -92,9 +92,9 @@ am_libelf_pic_a_OBJECTS = $(libelf_a_SOURCES:.c=.os) libelf_so_SOURCES = libelf.so: libelf_pic.a libelf.map - $(CC) -shared -o $@ -Wl,--whole-archive,$<,--no-whole-archive \ - -Wl,--version-script,$(srcdir)/libelf.map,--no-undefined \ - -Wl,--soname,$@.$(VERSION),-z,-defs + $(LINK) -shared -o $@ -Wl,--whole-archive,$<,--no-whole-archive \ + -Wl,--version-script,$(srcdir)/libelf.map,--no-undefined \ + -Wl,--soname,$@.$(VERSION),-z,-defs if readelf -d $@ | fgrep -q TEXTREL; then exit 1; fi ln -fs $@ $@.$(VERSION) @@ -122,4 +122,4 @@ noinst_HEADERS = elf.h abstract.h common.h exttypes.h gelf_xlate.h libelfP.h \ version_xlate.h dl-hash.h EXTRA_DIST = libelf.map -CLEANFILES = $(am_libelf_pic_a_OBJECTS) +CLEANFILES = $(am_libelf_pic_a_OBJECTS) *.gcno *.gcda |
