diff options
author | fanquake <fanquake@gmail.com> | 2022-07-28 14:24:30 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-07-29 12:48:19 +0100 |
commit | 9b60690b94ca766f8039a7a7a20dda5fecd176ab (patch) | |
tree | 56cb10756ae304a6fa3e9b30d6325eee930f8fe7 /depends/packages/native_libtapi.mk | |
parent | 1abbae65eb9c99df5d8941008068d83ad99bf117 (diff) | |
download | bitcoin-9b60690b94ca766f8039a7a7a20dda5fecd176ab.tar.xz |
cctools: fixup building with LTO
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.
Diffstat (limited to 'depends/packages/native_libtapi.mk')
-rw-r--r-- | depends/packages/native_libtapi.mk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/depends/packages/native_libtapi.mk b/depends/packages/native_libtapi.mk index 1633213a42..052bb23689 100644 --- a/depends/packages/native_libtapi.mk +++ b/depends/packages/native_libtapi.mk @@ -13,7 +13,5 @@ define $(package)_build_cmds endef define $(package)_stage_cmds - ./install.sh && \ - mkdir -p $($(package)_staging_prefix_dir)/include/llvm-c && \ - cp src/llvm/include/llvm-c/lto.h $($(package)_staging_prefix_dir)/include/llvm-c + ./install.sh endef |