Commit 0f09788 1 parent de97b06 commit 0f09788 Copy full SHA for 0f09788
File tree 3 files changed +26
-3
lines changed
3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ $(package)_version=1_71_0
3
3
$(package)_download_path =https://dl.bintray.com/boostorg/release/$(subst _,.,$($(package ) _version) ) /source/
4
4
$(package)_file_name =boost_$($(package ) _version) .tar.bz2
5
5
$(package)_sha256_hash =d73a8da01e8bf8c7eda40b4c84915071a8c8a0df4a6734537ddde4a8580524ee
6
+ $(package)_dependencies =native_b2
6
7
7
8
define $(package)_set_vars
8
9
$(package ) _config_opts_release=variant=release
@@ -35,13 +36,13 @@ define $(package)_preprocess_cmds
35
36
endef
36
37
37
38
define $(package)_config_cmds
38
- ./bootstrap.sh --without-icu --with-libraries=$($(package ) _config_libraries) --with-toolset=$($(package ) _toolset_$(host_os ) )
39
+ ./bootstrap.sh --without-icu --with-libraries=$($(package ) _config_libraries) --with-toolset=$($(package ) _toolset_$(host_os ) ) --with-bjam=b2
39
40
endef
40
41
41
42
define $(package)_build_cmds
42
- ./ b2 -d2 -j2 -d1 --prefix=$($(package ) _staging_prefix_dir) $($(package ) _config_opts) toolset=$($(package ) _toolset_$(host_os ) ) stage
43
+ b2 -d2 -j2 -d1 --prefix=$($(package ) _staging_prefix_dir) $($(package ) _config_opts) toolset=$($(package ) _toolset_$(host_os ) ) stage
43
44
endef
44
45
45
46
define $(package)_stage_cmds
46
- ./ b2 -d0 -j4 --prefix=$($(package ) _staging_prefix_dir) $($(package ) _config_opts) toolset=$($(package ) _toolset_$(host_os ) ) install
47
+ b2 -d0 -j4 --prefix=$($(package ) _staging_prefix_dir) $($(package ) _config_opts) toolset=$($(package ) _toolset_$(host_os ) ) install
47
48
endef
Original file line number Diff line number Diff line change
1
+ package =native_b2
2
+ $(package)_version =$(boost_version )
3
+ $(package)_download_path =$(boost_download_path )
4
+ $(package)_file_name =$(boost_file_name )
5
+ $(package)_sha256_hash =$(boost_sha256_hash )
6
+ $(package)_build_subdir =tools/build/src/engine
7
+ ifneq (,$(findstring clang,$($(package ) _cxx) ) )
8
+ $(package)_toolset_$(host_os) =clang
9
+ else
10
+ $(package)_toolset_$(host_os) =gcc
11
+ endif
12
+
13
+ define $(package)_build_cmds
14
+ CXX="$($(package ) _cxx) " CXXFLAGS="$($(package ) _cxxflags) " ./build.sh "$($(package ) _toolset_$(host_os ) ) "
15
+ endef
16
+
17
+ define $(package)_stage_cmds
18
+ mkdir -p "$($(package ) _staging_prefix_dir) "/bin/ && \
19
+ cp b2 "$($(package ) _staging_prefix_dir) "/bin/
20
+ endef
Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ upnp_packages=miniupnpc
89
89
90
90
darwin_native_packages = native_biplist native_ds_store native_mac_alias
91
91
92
+ $(host_arch)_$(host_os)_native_packages += native_b2
93
+
92
94
ifneq ($(build_os ) ,darwin)
93
95
darwin_native_packages += native_cctools native_cdrkit native_libdmg-hfsplus
94
96
endif
You can’t perform that action at this time.
0 commit comments