|
@ -6,12 +6,17 @@ $(package)_sha256_hash=59c9b274bc451cf91a9ba1dd2c7fdcaf5d60b1b3aa83f2c9fa143417c |
|
|
$(package)_file_name=$(package)_$($(package)_version).tar.bz2 |
|
|
$(package)_file_name=$(package)_$($(package)_version).tar.bz2 |
|
|
$(package)_patches=fix-Solaris.patch |
|
|
$(package)_patches=fix-Solaris.patch |
|
|
|
|
|
|
|
|
|
|
|
ifneq ($(host_os),darwin) |
|
|
|
|
|
$(package)_dependencies+=libcxx |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
define $(package)_set_vars |
|
|
define $(package)_set_vars |
|
|
$(package)_config_opts_release=variant=release |
|
|
$(package)_config_opts_release=variant=release |
|
|
$(package)_config_opts_debug=variant=debug |
|
|
$(package)_config_opts_debug=variant=debug |
|
|
$(package)_config_opts=--layout=system --user-config=user-config.jam |
|
|
$(package)_config_opts=--layout=system --user-config=user-config.jam |
|
|
$(package)_config_opts+=threading=multi link=static -sNO_BZIP2=1 -sNO_ZLIB=1 |
|
|
$(package)_config_opts+=threading=multi link=static -sNO_BZIP2=1 -sNO_ZLIB=1 |
|
|
$(package)_config_opts_linux=threadapi=pthread runtime-link=shared |
|
|
$(package)_config_opts_linux=threadapi=pthread runtime-link=shared |
|
|
|
|
|
$(package)_config_opts_freebsd=cxxflags=-fPIC |
|
|
$(package)_config_opts_darwin=--toolset=gcc runtime-link=shared threadapi=pthread |
|
|
$(package)_config_opts_darwin=--toolset=gcc runtime-link=shared threadapi=pthread |
|
|
$(package)_config_opts_mingw32=binary-format=pe target-os=windows threadapi=win32 runtime-link=static |
|
|
$(package)_config_opts_mingw32=binary-format=pe target-os=windows threadapi=win32 runtime-link=static |
|
|
$(package)_config_opts_x86_64_mingw32=address-model=64 |
|
|
$(package)_config_opts_x86_64_mingw32=address-model=64 |
|
@ -24,6 +29,14 @@ $(package)_archiver_darwin=$($(package)_ar) |
|
|
$(package)_config_libraries=chrono,filesystem,program_options,system,thread,test |
|
|
$(package)_config_libraries=chrono,filesystem,program_options,system,thread,test |
|
|
$(package)_cxxflags=-std=c++11 -fvisibility=hidden |
|
|
$(package)_cxxflags=-std=c++11 -fvisibility=hidden |
|
|
$(package)_cxxflags_linux=-fPIC |
|
|
$(package)_cxxflags_linux=-fPIC |
|
|
|
|
|
$(package)_cxxflags_freebsd=-fPIC |
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(host_os),freebsd) |
|
|
|
|
|
$(package)_ldflags+=-static-libstdc++ -lcxxrt |
|
|
|
|
|
else |
|
|
|
|
|
$(package)_ldflags+=-static-libstdc++ -lc++abi |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
|
|
|