On Wed, Dec 10, 2014 at 3:16 AM, Maarten Hoes <hoes.maar...@gmail.com> wrote: > Hrm. > > > It appears I get the openldap build error when I do the build like this > (like it happens with the tb script) : > > $ LDFLAGS+='-fprofile-arcs' > $ CFLAGS+='-fprofile-arcs -ftest-coverage' > $ CXXFLAGS+='-fprofile-arcs -ftest-coverage' > $ CPPFLAGS+='-fprofile-arcs -ftest-coverage' > $ export LDFLAGS CFLAGS CXXFLAGS CPPFLAGS > $ ./autogen.sh --enable-python=internal --disable-online-update > --without-system-libs --without-system-headers > $ make build-nocheck > > > > But not when I do the build like this (like I do on the cmdline, or is done > in the lcov-report.sh script) : > > $ LDFLAGS+='-fprofile-arcs' CFLAGS+='-fprofile-arcs -ftest-coverage' > CXXFLAGS+='-fprofile-arcs -ftest-coverage' \ > CPPFLAGS+='-fprofile-arcs -ftest-coverage' ./autogen.sh > --enable-python=internal --disable-online-update \ > --without-system-libs --without-system-headers > $ make build-nocheck >
then the easiest work around is to define a custom phase for that profile that overide the configure (aka autogen) step so that it does it the second way (and remove the *FLAGS from the profile's config Norbert _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice