Disable thin archives with cef_sandbox builds (fixes #3674)

This commit is contained in:
Marshall Greenblatt
2024-03-27 14:39:07 -04:00
parent 6253e69b70
commit 54a9c26b92
3 changed files with 27 additions and 6 deletions

View File

@ -517,6 +517,12 @@ def GetConfigArgsSandbox(platform, args, is_debug, cpu):
# Avoid /LTCG linker warnings and generate smaller lib files.
'is_official_build': False,
# Disable use of thin archives with lld. Thin archives contain just the
# symbol table and the path to find the original .o files. They are
# generally incompatible with default platform ld/link versions and
# shouldn't be distributed due to the external .o file dependencies.
'use_thin_archives': False,
# Enable base target customizations necessary for distribution of the
# cef_sandbox static library.
'is_cef_sandbox_build': True,