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).
This commit is contained in:
parent
749bf56917
commit
19571c7652
|
|
@ -47,7 +47,7 @@ libostree_la_SOURCES += src/libostree/ostree-libarchive-input-stream.h \
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libostree_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/src/libotutil -I$(srcdir)/src/libostree -DLOCALEDIR=\"$(datadir)/locale\" $(OT_DEP_GIO_UNIX_CFLAGS)
|
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)
|
libostree_la_LIBADD = libotutil.la $(OT_DEP_GIO_UNIX_LIBS)
|
||||||
|
|
||||||
if USE_LIBARCHIVE
|
if USE_LIBARCHIVE
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue