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
4660ac362e
commit
99443fbb55
2 changed files with 8 additions and 5 deletions
10
.bazelrc
10
.bazelrc
|
|
@ -2,11 +2,11 @@ build --action_env=ZERO_AR_DATE=1
|
|||
|
||||
build --apple_platform_type=ios
|
||||
|
||||
build --cxxopt='-std=c++14'
|
||||
build --per_file_copt="third-party/webrtc/.*\.cpp$","@-std=c++14"
|
||||
build --per_file_copt="third-party/webrtc/.*\.cc$","@-std=c++14"
|
||||
build --per_file_copt="third-party/webrtc/.*\.mm$","@-std=c++14"
|
||||
build --per_file_copt="submodules/LottieMeshSwift/LottieMeshBinding/Sources/.*\.mm$","@-std=c++14"
|
||||
build --cxxopt='-std=c++17'
|
||||
build --per_file_copt="third-party/webrtc/.*\.cpp$","@-std=c++17"
|
||||
build --per_file_copt="third-party/webrtc/.*\.cc$","@-std=c++17"
|
||||
build --per_file_copt="third-party/webrtc/.*\.mm$","@-std=c++17"
|
||||
build --per_file_copt="submodules/LottieMeshSwift/LottieMeshBinding/Sources/.*\.mm$","@-std=c++17"
|
||||
|
||||
build --swiftcopt=-whole-module-optimization
|
||||
|
||||
|
|
|
|||
|
|
@ -96,6 +96,9 @@ objc_library(
|
|||
"GLKit",
|
||||
"AVFoundation",
|
||||
],
|
||||
sdk_dylibs = [
|
||||
"libz",
|
||||
],
|
||||
visibility = [
|
||||
"//visibility:public",
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue