File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444
4545# ==================================================================
4646# PREPROCESS — Generate user-config.jam
47- # We split macOS vs others at *make* level (no shell if/fi).
4847# ==================================================================
4948
5049ifeq ($(host_os ) ,darwin)
@@ -73,10 +72,24 @@ endef
7372
7473endif
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+
7687define $(package)_config_cmds
7788 ./bootstrap.sh --without-icu --with-libraries=$(boost_config_libraries )
7889endef
7990
91+ endif
92+
8093define $(package)_build_cmds
8194 ./b2 -d2 -j2 -d1 --prefix=$($(package ) _staging_prefix_dir) $($(package ) _config_opts) stage
8295endef
You can’t perform that action at this time.
0 commit comments