depends: support pure clang builds

This commit is contained in:
tobtoht
2026-08-20 11:40:19 +02:00
parent 31268f0eb2
commit f5f7b5110b
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ $(package)_config_opts_mingw32=binary-format=pe target-os=windows threadapi=win3
$(package)_config_opts_x86_64_mingw32=address-model=64
$(package)_config_opts_i686_mingw32=address-model=32
$(package)_config_opts_i686_linux=address-model=32 architecture=x86
$(package)_toolset_$(host_os)=gcc
$(package)_toolset_$(host_os)=$(build_CC)
$(package)_archiver_$(host_os)=$($(package)_ar)
$(package)_config_libraries_$(host_os)="chrono,filesystem,program_options,thread,test,serialization"
$(package)_config_libraries_mingw32="chrono,filesystem,program_options,thread,test,serialization,locale"
@@ -33,7 +33,7 @@ define $(package)_preprocess_cmds
endef
define $(package)_config_cmds
./bootstrap.sh --without-icu --with-libraries=$(boost_config_libraries_$(host_os))
./bootstrap.sh --with-toolset=$(build_CC) --without-icu --with-libraries=$(boost_config_libraries_$(host_os))
endef
define $(package)_build_cmds
+1 -1
View File
@@ -10,7 +10,7 @@ define $(package)_set_vars
$(package)_config_env=cf_cv_ar_flags=""
$(package)_config_opts=--prefix=$(host_prefix)
$(package)_config_opts+=--disable-shared
$(package)_config_opts+=--with-build-cc=gcc
$(package)_config_opts+=--with-build-cc=$(build_CC)
$(package)_config_opts+=--without-debug
$(package)_config_opts+=--without-ada
$(package)_config_opts+=--without-cxx-binding