[Bug 213768] editors/libreoffice: Fix build with lang/gcc5 on 11.0-RELEASE
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 26 14:21:58 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213768
--- Comment #11 from Kenneth Salerno <kennethsalerno at yahoo.com> ---
(In reply to Kenneth Salerno from comment #10)
Just a little more detail about this patch: the actual failure comes from the
-lboost_program_options link test conftest.cpp of autoconf's `configure'.
The issue isn't that ld on conftest.o link doesn't find
/usr/local/lib/libboost_program_options.so, the problem is yet another C++
header include issue/grief of using lang/gcc5 gnu++11
/usr/local/lib/gcc5/include on a std=c++11 /usr/include system. There is an
undefined function logged in config.log and configure bombs. The attached patch
is a brute-force fix that technically doesn't break anything for clang or other
arches, but it doesn't get to the root of the issue.
What I would like to find out is what -I flags and -D flags I should add to
CXXFLAGS in my make.conf to fix this fragile C++ environment.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-office
mailing list