[Buildroot] [git commit] package/boost: move host variables closer together
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Apr 19 15:05:29 UTC 2025
commit: https://git.buildroot.net/buildroot/commit/?id=1e83f01b519911148d5dd6a88ad2ba5b9e8a3123
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Also, one item per line (chrono, container) in the list of libraries.
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
Cc: Michael Nosthoff <buildroot at heine.tech>
Cc: Yegor Yefremov <yegorslists at googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/boost/boost.mk | 71 +++++++++++++++++++++++++-------------------------
1 file changed, 36 insertions(+), 35 deletions(-)
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index c0d17f7670..044dd275b3 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -12,41 +12,6 @@ BOOST_LICENSE = BSL-1.0
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 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)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTAINER),,container)
@@ -103,6 +68,42 @@ BOOST_TARGET_CXXFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MA
BOOST_DEPENDENCIES += python3
endif
+# 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 \
+ 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\
+ )
+
HOST_BOOST_OPTS += toolset=gcc threading=multi \
variant=release link=shared runtime-link=shared -j$(PARALLEL_JOBS) -q \
--ignore-site-config --layout=system --prefix=$(HOST_DIR) \
More information about the buildroot
mailing list