undefined reference to `__gcov_init' when using FLAGS+='-fprofile-arcs -ftest-coverage'
David Tardon
dtardon at redhat.com
Mon Dec 17 01:20:02 PST 2012
Hi,
On Wed, Dec 12, 2012 at 01:53:48PM +0100, John Smith wrote:
> On Wed, Dec 12, 2012 at 12:28 PM, Michael Stahl <mstahl at redhat.com> wrote:
> >
> > but apparently LDFLAGS don't
> >
> > hmmm... you could try editing these and adding your options there:
> >
> > solenv/inc/unxgcc.mk:LINKFLAGSSHLGUI= -shared
> > solenv/inc/unxgcc.mk:LINKFLAGSSHLCUI= -shared
> >
> This works, by the way, for setup_native. But even after editing those
> files the same behavior (LDFLAGS not set) appears when building odk.
> And I cant seem to be able to figure out what makefile to hack to fix
> it. Of course I can just do './configure --disable-odk'...
The old build system looks for ENVLINKFLAGS variable. So if you set
ENVLINKFLAGS to the same value as LDFLAGS, the build should pass.
D.
More information about the LibreOffice
mailing list