diff options
| author | Roland McGrath <[email protected]> | 2005-08-25 01:49:35 +0000 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2005-08-25 01:49:35 +0000 |
| commit | 4c305da9de0ecfe9af64cb6787b2b4b8a6aa8dd5 (patch) | |
| tree | aeba7918420be8f6c080f902529a482993388e5f /libdw/Makefile.am | |
| parent | 6830bc40bb6a38dee917bebc856c7c1ba5126e24 (diff) | |
2005-08-24 Roland McGrath <[email protected]>
* line2addr.c (print_address): Omit () for DSOs.
Diffstat (limited to 'libdw/Makefile.am')
| -rw-r--r-- | libdw/Makefile.am | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/libdw/Makefile.am b/libdw/Makefile.am index ee4eccf5..ad6b28a1 100644 --- a/libdw/Makefile.am +++ b/libdw/Makefile.am @@ -22,9 +22,6 @@ AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib VERSION = 1 -COMPILE.os = $(filter-out -fprofile-arcs, $(filter-out -ftest-coverage, \ - $(COMPILE))) - lib_LIBRARIES = libdw.a if !MUDFLAP noinst_LIBRARIES = libdw_pic.a @@ -79,15 +76,15 @@ libdw_so_SOURCES = libdw.so: $(srcdir)/libdw.map libdw_pic.a \ ../libdwfl/libdwfl_pic.a ../libebl/libebl.a \ ../libelf/libelf.so - $(LINK) -shared -o $@ -Wl,--soname,$@.$(VERSION),-z,defs \ - -Wl,--version-script,$<,--no-undefined \ - -Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive\ - -ldl + $(CC) -shared -o $@ -Wl,--soname,$@.$(VERSION),-z,defs \ + -Wl,--version-script,$<,--no-undefined \ + -Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive \ + -ldl 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"; \ @@ -113,4 +110,4 @@ noinst_HEADERS = libdwP.h memory-access.h dwarf_abbrev_hash.h EXTRA_DIST = libdw.map -CLEANFILES = $(am_libdw_pic_a_OBJECTS) *.gcno *.gcda +CLEANFILES = $(am_libdw_pic_a_OBJECTS) |
