Skip to content

Commit fced12b

Browse files
boost test
1 parent 63f26b0 commit fced12b

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

depends/packages/boost.mk

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ endef
4444

4545
# ==================================================================
4646
# PREPROCESS — Generate user-config.jam
47-
# We split macOS vs others at *make* level (no shell if/fi).
4847
# ==================================================================
4948

5049
ifeq ($(host_os),darwin)
@@ -73,10 +72,24 @@ endef
7372

7473
endif
7574

75+
# ==================================================================
76+
# CONFIG — Patch: Force --with-toolset=clang on macOS
77+
# ==================================================================
78+
79+
ifeq ($(host_os),darwin)
80+
81+
define $(package)_config_cmds
82+
./bootstrap.sh --with-toolset=clang --without-icu --with-libraries=$(boost_config_libraries)
83+
endef
84+
85+
else
86+
7687
define $(package)_config_cmds
7788
./bootstrap.sh --without-icu --with-libraries=$(boost_config_libraries)
7889
endef
7990

91+
endif
92+
8093
define $(package)_build_cmds
8194
./b2 -d2 -j2 -d1 --prefix=$($(package)_staging_prefix_dir) $($(package)_config_opts) stage
8295
endef

0 commit comments

Comments
 (0)