[ostree] build: Link with -Bsymbolic-functions
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] build: Link with -Bsymbolic-functions
- Date: Thu, 3 May 2012 17:42:13 +0000 (UTC)
commit 19571c76521b1446fa5433c6ae87d30690e39161
Author: Colin Walters <walters verbum org>
Date: Thu May 3 13:40:23 2012 -0400
build: Link with -Bsymbolic-functions
Avoids indirecting through PLT for internal calls, at the cost that we
can't use LD_PRELOAD to override internal functions (but we never
really want that, use a debugger).
Makefile-libostree.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile-libostree.am b/Makefile-libostree.am
index 6eb27e0..af5a9af 100644
--- a/Makefile-libostree.am
+++ b/Makefile-libostree.am
@@ -47,7 +47,7 @@ libostree_la_SOURCES += src/libostree/ostree-libarchive-input-stream.h \
endif
libostree_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/src/libotutil -I$(srcdir)/src/libostree -DLOCALEDIR=\"$(datadir)/locale\" $(OT_DEP_GIO_UNIX_CFLAGS)
-libostree_la_LDFLAGS = -avoid-version
+libostree_la_LDFLAGS = -avoid-version -Bsymbolic-functions
libostree_la_LIBADD = libotutil.la $(OT_DEP_GIO_UNIX_LIBS)
if USE_LIBARCHIVE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]