On 11/12/12 21:50, John Smith wrote:
> Hi,
> 
> 
> Im trying to build libreoffice for using gcov/loc, so Ive set:
> 
> LDFLAGS+='-fprofile-arcs' CFLAGS+='-fprofile-arcs -ftest-coverage'
> CXXFLAGS+='-fprofile-arcs -ftest-coverage' \
> CPPFLAGS+='-fprofile-arcs -ftest-coverage'
> 
> But I still get this error message (in 'make setup_native')
> 
> undefined reference to `__gcov_init'
> 
> Does anyone have an idea of what might be going on here ?

setup_native still uses the old dmake based build system, most likely
that does not support those *FLAGS variables.  you can check with "make
setup_native VERBOSE=t" if that stuff is actually used.


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to