Changeset View
Changeset View
Standalone View
Standalone View
depends/packages/boost.mk
Show All 16 Lines | |||||
$(package)_config_opts_i686=architecture=x86 address-model=32 | $(package)_config_opts_i686=architecture=x86 address-model=32 | ||||
$(package)_config_opts_aarch64=address-model=64 | $(package)_config_opts_aarch64=address-model=64 | ||||
ifneq (,$(findstring clang,$($(package)_cxx))) | ifneq (,$(findstring clang,$($(package)_cxx))) | ||||
$(package)_toolset_$(host_os)=clang | $(package)_toolset_$(host_os)=clang | ||||
else | else | ||||
$(package)_toolset_$(host_os)=gcc | $(package)_toolset_$(host_os)=gcc | ||||
endif | endif | ||||
$(package)_config_libraries=atomic,date_time,test | $(package)_config_libraries=atomic,date_time,test | ||||
$(package)_cxxflags=-std=c++17 -fvisibility=hidden | $(package)_cxxflags+=-std=c++17 -fvisibility=hidden | ||||
$(package)_cxxflags_linux=-fPIC | $(package)_cxxflags_linux=-fPIC | ||||
endef | endef | ||||
define $(package)_preprocess_cmds | define $(package)_preprocess_cmds | ||||
echo "using $($(package)_toolset_$(host_os)) : : $($(package)_cxx) : <cflags>\"$($(package)_cflags)\" <cxxflags>\"$($(package)_cxxflags)\" <compileflags>\"$($(package)_cppflags)\" <linkflags>\"$($(package)_ldflags)\" <archiver>\"$($(package)_ar)\" <striper>\"$(host_STRIP)\" <ranlib>\"$(host_RANLIB)\" <rc>\"$(host_WINDRES)\" : ;" > user-config.jam | echo "using $($(package)_toolset_$(host_os)) : : $($(package)_cxx) : <cflags>\"$($(package)_cflags)\" <cxxflags>\"$($(package)_cxxflags)\" <compileflags>\"$($(package)_cppflags)\" <linkflags>\"$($(package)_ldflags)\" <archiver>\"$($(package)_ar)\" <striper>\"$(host_STRIP)\" <ranlib>\"$(host_RANLIB)\" <rc>\"$(host_WINDRES)\" : ;" > user-config.jam | ||||
endef | endef | ||||
define $(package)_config_cmds | define $(package)_config_cmds | ||||
Show All 10 Lines |