mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
9b60690b94
Use lto.h from clang+llvm not libtapi. The later is older, and comes bundled with the libtapi repo. Copy libLTO.so when building with FORCE_USE_SYSTEM_CLANG.
18 lines
571 B
Makefile
18 lines
571 B
Makefile
package=native_libtapi
|
|
$(package)_version=664b8414f89612f2dfd35a9b679c345aa5389026
|
|
$(package)_download_path=https://github.com/tpoechtrager/apple-libtapi/archive
|
|
$(package)_file_name=$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=62e419c12d1c9fad67cc1cd523132bc00db050998337c734c15bc8d73cc02b61
|
|
|
|
ifeq ($(strip $(FORCE_USE_SYSTEM_CLANG)),)
|
|
$(package)_dependencies=native_clang
|
|
endif
|
|
|
|
define $(package)_build_cmds
|
|
CC=$(clang_prog) CXX=$(clangxx_prog) INSTALLPREFIX=$($(package)_staging_prefix_dir) ./build.sh
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
./install.sh
|
|
endef
|