aboutsummaryrefslogtreecommitdiff
path: root/depends/packages
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2024-01-30 09:37:37 +0000
committerfanquake <fanquake@gmail.com>2024-05-08 16:36:41 +0800
commit7f5ac4520d1553170b1053a9ffcd58179386a6d2 (patch)
treed0b2d5b5e0e4e1abaeab6f5fc29bc5cfe8791a98 /depends/packages
parent43a66c55ec8770cf7c21112aac9b997f3f2fb704 (diff)
build: swap otool for (llvm-)objdump
Similar to libtool, (llvm-)otool only exists with a version suffix on some systems (Ubuntu), which makes it annoying to use/find. Avoid this, by switching to objdump. Which is a drop-in replacement. This is related to #21778, and the switchover to using vanilla LLVM for macOS.
Diffstat (limited to 'depends/packages')
-rw-r--r--depends/packages/native_llvm.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/depends/packages/native_llvm.mk b/depends/packages/native_llvm.mk
index 09994eb012..1953c91bf4 100644
--- a/depends/packages/native_llvm.mk
+++ b/depends/packages/native_llvm.mk
@@ -18,6 +18,7 @@ define $(package)_stage_cmds
cp -P bin/clang++ $($(package)_staging_prefix_dir)/bin/ && \
cp bin/dsymutil $($(package)_staging_prefix_dir)/bin/$(host)-dsymutil && \
cp bin/llvm-config $($(package)_staging_prefix_dir)/bin/ && \
+ cp bin/llvm-objdump $($(package)_staging_prefix_dir)/bin/$(host)-objdump && \
cp include/llvm-c/ExternC.h $($(package)_staging_prefix_dir)/include/llvm-c && \
cp include/llvm-c/lto.h $($(package)_staging_prefix_dir)/include/llvm-c && \
cp lib/libLTO.so $($(package)_staging_prefix_dir)/lib/ && \