mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix build
This commit is contained in:
parent
3cc76b3e40
commit
21d5fe177b
5 changed files with 16 additions and 3 deletions
|
|
@ -100,13 +100,14 @@ class BazelCommandLine:
|
|||
|
||||
# https://github.com/bazelbuild/rules_swift
|
||||
# Use -Osize instead of -O when building swift modules.
|
||||
#'--features=swift.opt_uses_osize',
|
||||
'--features=swift.opt_uses_osize',
|
||||
|
||||
# --num-threads 0 forces swiftc to generate one object file per module; it:
|
||||
# 1. resolves issues with the linker caused by the swift-objc mixing.
|
||||
# 2. makes the resulting binaries significantly smaller (up to 9% for this project).
|
||||
'--swiftcopt=-num-threads', '--swiftcopt=1',
|
||||
#'--swiftcopt=-num-threads', '--swiftcopt=1',
|
||||
'--swiftcopt=-j1',
|
||||
'--features=swift._num_threads_0_in_swiftcopts',
|
||||
|
||||
# Strip unsused code.
|
||||
'--features=dead_strip',
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 25bc63e827951bd67376cd0f811a29d0c3924009
|
||||
Subproject commit 86dc0f046269b3001f6f20cec38342c03120a209
|
||||
Loading…
Add table
Add a link
Reference in a new issue