summaryrefslogtreecommitdiffstats
path: root/libelf
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2012-09-06 21:56:49 +0200
committerMark Wielaard <[email protected]>2014-05-26 11:34:06 +0200
commitbe6ce84d68443fbe1bf3734c594031bee8e6ac77 (patch)
tree1bdf95d8da69c213ab3602bfce85f3e7a943bfd8 /libelf
parenta57d93f9154a40de6a5ac978164ea691fc87dbc1 (diff)
Build installable libraries with -fpic, -fvisibility=hiddendts-0.159
The test case has to be changed to look for files with different names. That because per-target rules cause file renaming in autoconf. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libelf')
-rw-r--r--libelf/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/libelf/Makefile.am b/libelf/Makefile.am
index 493e4ec1..31fa8a46 100644
--- a/libelf/Makefile.am
+++ b/libelf/Makefile.am
@@ -41,6 +41,7 @@ include_HEADERS = libelf.h gelf.h nlist.h
pkginclude_HEADERS = elf-knowledge.h
+libelf_a_CFLAGS = -fpic -fvisibility=hidden $(AM_CFLAGS)
libelf_a_SOURCES = elf_version.c elf_hash.c elf_error.c elf_fill.c \
elf_begin.c elf_next.c elf_rand.c elf_end.c elf_kind.c \
gelf_getclass.c elf_getbase.c elf_getident.c \