summaryrefslogtreecommitdiffstats
path: root/libelf
diff options
context:
space:
mode:
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 d5d63f73..0d8679f2 100644
--- a/libelf/Makefile.am
+++ b/libelf/Makefile.am
@@ -51,6 +51,7 @@ endif
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 \