diff --git a/contrib/depends/packages/boost.mk b/contrib/depends/packages/boost.mk index 9e2724678..d4c332d16 100644 --- a/contrib/depends/packages/boost.mk +++ b/contrib/depends/packages/boost.mk @@ -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 diff --git a/contrib/depends/packages/ncurses.mk b/contrib/depends/packages/ncurses.mk index 004c29372..5bd6c3f61 100644 --- a/contrib/depends/packages/ncurses.mk +++ b/contrib/depends/packages/ncurses.mk @@ -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