diff options
| author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2018-08-18 21:47:25 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-08-18 22:32:14 +0200 |
| commit | b20c5ca3b8c5b180a6ee87556d0c87d474e86cde (patch) | |
| tree | 2ba6d1a88acf32cf6c4d448ae7f29ef603a04862 | |
| parent | dbe8483b20ad3c42607878cfd8adfa723bc73bc4 (diff) | |
| download | buildroot-b20c5ca3b8c5b180a6ee87556d0c87d474e86cde.tar.gz buildroot-b20c5ca3b8c5b180a6ee87556d0c87d474e86cde.zip | |
boost: context needs thread without C++11 mutex
Extract from output/build/boost-1.67.0/libs/context/build/Jamfile.v2:
explicit cxx11_hdr_mutex_check ;
local cxx11_mutex = [ check-target-builds
cxx11_hdr_mutex_check "C++11 mutex"
:
: <library>/boost/thread//boost_thread
] ;
So select boost_thread if gcc <= 4.7
Fixes:
- http://autobuild.buildroot.net/results/fb046c04fe18bec973d120e4ab33971f32ba5769
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| -rw-r--r-- | package/boost/Config.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/boost/Config.in b/package/boost/Config.in index 57e98c72e4..0fd049d53c 100644 --- a/package/boost/Config.in +++ b/package/boost/Config.in @@ -83,6 +83,7 @@ config BR2_PACKAGE_BOOST_CONTEXT bool "boost-context" depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + select BR2_PACKAGE_BOOST_THREAD if !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 help C++11 context switching library. |

