[vlc-devel] [RFC PATCH 7/7] configure: Specify a build ID when building with breakpad
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Wed Dec 20 12:52:35 CET 2017
On Wed, Dec 20, 2017, at 12:13 PM, Jean-Baptiste Kempf wrote:
> I am very curious, what is this?
>
> On Wed, 20 Dec 2017, at 11:34, Hugo Beauzée-Luyssen wrote:
> > ---
> > configure.ac | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/configure.ac b/configure.ac
> > index 085e432ee9..7c45be0b4d 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -3854,6 +3854,7 @@ AS_IF([test "$with_breakpad" != "no"], [
> >
> > AM_CONDITIONAL(HAVE_BREAKPAD, [test "$with_breakpad" != "no"])
> > AS_IF([test "$with_breakpad" != "no"], [
> > + LDFLAGS="${LDFLAGS} -Wl,--build-id"
> > AC_SUBST(BREAKPAD_URL, ["${with_breakpad}"])
> > ])
> >
TL;DR: It annotates the resulting binary with a unique identifier, which is then used by breakpad to match symbols & binaries.
--
Hugo Beauzée-Luyssen
hugo at beauzee.fr
More information about the vlc-devel
mailing list