boost: build always with -std=gnu++14 with recent compilers. 3668/head
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 17 Dec 2016 16:52:32 +0000 (17:52 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 25 Dec 2016 16:52:51 +0000 (17:52 +0100)
commitf966e760b739e7364829df4a4157d0b793fdceea
treeff7e56001a30eac340b38c8330c186895ca34bf0
parent558f0b563b4f971181201ea2d61640a69dd319c1
boost: build always with -std=gnu++14 with recent compilers.

Some parts of boost need at least C++11, activate -std=gnu++14
when possible and otherwise use -std=gnu++11 instated of using the
default which is -std=gnu++98.

This fixes the build for me when I build everything expect
boost-coroutine2 with gcc 5.4.0 on LEDE.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
libs/boost/Makefile