Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Dec 2016 15:24:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 213768] editors/libreoffice: Fix build with lang/gcc5 on 11.0-RELEASE
Message-ID:  <bug-213768-25061-GizXEHlNl4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213768-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213768-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213768

Curtis Hamilton <hamiltcl@verizon.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hamiltcl@verizon.net

--- Comment #29 from Curtis Hamilton <hamiltcl@verizon.net> ---
I've discovered instead of patching multiple files, it's easier to make the
below change in the Makefile.

Change from:

.if ${COMPILER_FEATURES:Mlibstdc++}
BROKEN=3D         Build with system libstdc++ is unsupported
.endif

Change to:

.if ${COMPILER_FEATURES:Mlibstdc++}
MAKE_ENV+=3D      WITH_LIBCPLUSPLUS=3Dyes
CXXFLAGS+=3D      -D_GLIBCXX_USE_C99=3D1
.endif

This worked for me and I was able to buld LO5 (r426579 2016-11-20).

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213768-25061-GizXEHlNl4>