Blender Git Commit Log

Git Commits -> Revision 611a9b1

Revision 611a9b1 by Bastien Montagne (master)
October 10, 2016, 17:29 (GMT)
install_deps.sh: first attempt to support cxx11.

For now, we merely add an option that sets CXXFLAGS envvar with
'--std=c++11' option.

There is no check done to ensure compatibility with the system
libraries, mainly because:
- It is all but trivial to get this information in a generic and
reliable way.
- Currently even cutting edge distributions may still distribute some c++98
libraries.
- With recent stdlibc++, both ABIs are supported together, which means
that incompatibilities are rather unlikely.

To summarize: if your system is recent and built with gcc-5.1 or more,
you should not experience too much troubles with c++11.

Commit Details:

Full Hash: 611a9b1bda3b24e7936f9a840f2a709fc394ba12
Parent Commit: cf449d3
Lines Changed: +38, -4

1 Modified Path:

/build_files/build_environment/install_deps.sh (+38, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021