Avoid using lld when compiling iin iOS with bitcode
The resulting framework's LLVM __bundle segment is empty otherwise. Bug: webrtc:13774 Change-Id: I235a3005f8e0d68168f29108be0f7c5b7914182b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/253140 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36178}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
4476b82b35
commit
b7ba602765
@ -180,6 +180,7 @@ def BuildWebRTC(output_dir, target_environment, target_arch, flavor,
|
||||
('true' if libvpx_build_vp9 else 'false'))
|
||||
|
||||
gn_args.append('enable_ios_bitcode=' + ('true' if use_bitcode else 'false'))
|
||||
gn_args.append('use_lld=' + ('false' if use_bitcode else 'true'))
|
||||
gn_args.append('use_goma=' + ('true' if use_goma else 'false'))
|
||||
gn_args.append('rtc_enable_objc_symbol_export=true')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user