diff options
author | Roland McGrath <roland@redhat.com> | 2005-08-25 01:49:35 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2005-08-25 01:49:35 +0000 |
commit | 4c305da9de0ecfe9af64cb6787b2b4b8a6aa8dd5 (patch) | |
tree | aeba7918420be8f6c080f902529a482993388e5f /libelf/Makefile.am | |
parent | 6830bc40bb6a38dee917bebc856c7c1ba5126e24 (diff) | |
download | elfutils-4c305da9de0ecfe9af64cb6787b2b4b8a6aa8dd5.tar.gz |
2005-08-24 Roland McGrath <roland@redhat.com>
* line2addr.c (print_address): Omit () for DSOs.
Diffstat (limited to 'libelf/Makefile.am')
-rw-r--r-- | libelf/Makefile.am | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/libelf/Makefile.am b/libelf/Makefile.am index 37683d85..28d0d6ed 100644 --- a/libelf/Makefile.am +++ b/libelf/Makefile.am @@ -31,9 +31,6 @@ GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include) VERSION = 1 PACKAGE_VERSION = @PACKAGE_VERSION@ -COMPILE.os = $(filter-out -fprofile-arcs, $(filter-out -ftest-coverage, \ - $(COMPILE))) - lib_LIBRARIES = libelf.a if !MUDFLAP noinst_LIBRARIES = libelf_pic.a @@ -95,14 +92,14 @@ am_libelf_pic_a_OBJECTS = $(libelf_a_SOURCES:.c=.os) 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 + $(CC) -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) %.os: %.c %.o - if $(COMPILE.os) -c -o $@ -fpic -DPIC -DSHARED -MT $@ -MD -MP \ + if $(COMPILE) -c -o $@ -fpic -DPIC -DSHARED -MT $@ -MD -MP \ -MF "$(DEPDIR)/$*.Tpo" `test -f '$<' || echo '$(srcdir)/'`$<; \ then cat "$(DEPDIR)/$*.Tpo" >> "$(DEPDIR)/$*.Po"; \ rm -f "$(DEPDIR)/$*.Tpo"; \ @@ -125,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) *.gcno *.gcda +CLEANFILES = $(am_libelf_pic_a_OBJECTS) |