build: add lld into macOS build environment(s)

pull/21778/head
fanquake 6 months ago
parent 437e908ebd
commit c6a6b2d6fd
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

@ -534,6 +534,8 @@ inspecting signatures in Mach-O binaries.")
gcc-toolchain-11
binutils
clang-toolchain-17
lld-17
(make-lld-wrapper lld-17 #:lld-as-ld? #t)
python-signapple
zip))
(else '())))))

@ -17,6 +17,7 @@ define $(package)_stage_cmds
cp bin/clang $($(package)_staging_prefix_dir)/bin/ && \
cp -P bin/clang++ $($(package)_staging_prefix_dir)/bin/ && \
cp bin/dsymutil $($(package)_staging_prefix_dir)/bin/dsymutil && \
cp bin/ld64.lld $($(package)_staging_prefix_dir)/bin/ld64.lld && \
cp bin/llvm-ar $($(package)_staging_prefix_dir)/bin/llvm-ar && \
cp bin/llvm-config $($(package)_staging_prefix_dir)/bin/ && \
cp bin/llvm-nm $($(package)_staging_prefix_dir)/bin/llvm-nm && \

Loading…
Cancel
Save