From 9b60690b94ca766f8039a7a7a20dda5fecd176ab Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 28 Jul 2022 14:24:30 +0100 Subject: 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. --- depends/packages/native_libtapi.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'depends/packages/native_libtapi.mk') 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 -- cgit v1.2.3