mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 15:41:44 +02:00
depends: support pure clang builds
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user