undefined reference to `__gcov_init' when using FLAGS+='-fprofile-arcs -ftest-coverage'
Michael Stahl
mstahl at redhat.com
Wed Dec 12 05:47:58 PST 2012
On 12/12/12 13:53, 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'...
well odk is rather irrelevant for code coverage anyway...
More information about the LibreOffice
mailing list