package/boost: cleanup HOST_BOOST_FLAGS

- fix alphabetical ordering
- put one module per line
- add comment explaining why options are enabled

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 5c20804afa42cb2efd57a4a333841290d35d9df6)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Michael Nosthoff 2024-07-12 17:17:44 +02:00 committed by Peter Korsgaard
parent 145e8e7406
commit 0e2daaad3e

View File

@ -13,12 +13,39 @@ BOOST_LICENSE_FILES = LICENSE_1_0.txt
BOOST_CPE_ID_VENDOR = boost
# keep host variant as minimal as possible
# regex & system are needed by host-riscv-isa-sim
HOST_BOOST_FLAGS = --without-icu --with-toolset=gcc \
--without-libraries=$(subst $(space),$(comma),atomic chrono context \
contract container coroutine date_time exception fiber filesystem graph \
graph_parallel iostreams json locale log math mpi nowide program_options \
python random serialization stacktrace test thread timer \
type_erasure url wave)
--without-libraries=$(subst $(space),$(comma),\
atomic \
chrono container \
context \
contract \
coroutine \
date_time \
exception \
fiber \
filesystem \
graph \
graph_parallel \
iostreams \
json \
locale \
log \
math \
mpi \
nowide \
program_options \
python \
random \
serialization \
stacktrace \
test \
thread \
timer \
type_erasure \
url \
wave\
)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHRONO),,chrono)