[Bug 213987] devel/boost-libs: fix for lang/gcc5

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 24 05:23:58 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213987

Jan Beich (mail not working) <jbeich at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Rejected
             Status|New                         |Closed

--- Comment #1 from Jan Beich (mail not working) <jbeich at FreeBSD.org> ---
Likely obsoleted by ports r426908. Even if not, please, describe build
environment in more detail e.g., backed by poudriere logs and if there're local
patches. Don't forget to quote errors which are crucial when remuving cruft in
future.

Also, if the compiler is buggy it should be patched rather than stacking more
hacks into consumers. While GCC 4.2 in base can't be patched retroactively the
ports can and *should*.

> +.if ${COMPILER_TYPE} == gcc
> +CXXFLAGS += -std=gnu++11 -D_GLIBCXX_USE_C99=1 -include cmath

devel/boost-libs is fragile if consumers are built with different compiler or
flags. Adding -std=gnu++11 would require an exp-run. Besides, GCC in base
doesn't support C++11

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


More information about the freebsd-office mailing list