buildroot/package/boost
Michael Nosthoff af148ef4f0 package/boost: fixup Optimization flag in boost build
When building with Boost Build the CXXFLAGS are extended depending
on the optimization level set. When not defined explicitly the
optimization level depends on the <variant>. For release it's 'speed'
and for debug it's set to 'off'

These flags overwrite the -O flag passed in with TARGET_CXXFLAGS as
it is appended when calling g++.

This commit sets the Optimization flags generated by Boost Build
to the value of TARGET_OPTIMIZATION no matter what level is used.

As Boost Build offers no nice way to alter those values the gcc
toolchain file is altered directly.

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-08-07 21:10:07 +02:00
..
0001-fix-uclibc-eventfd.patch package/boost: drop first patch 2020-06-14 21:59:41 +02:00
0002-fenv.patch package/boost: drop first patch 2020-06-14 21:59:41 +02:00
boost.hash package/boost: bump version to 1.73.0 2020-06-14 18:17:23 +02:00
boost.mk package/boost: fixup Optimization flag in boost build 2020-08-07 21:10:07 +02:00
Config.in package/boost: propagate boost-thread dependency on a toolchain without bug 64735 2019-12-26 13:40:32 +01:00