diff options
author | tekireeva <tekireeva@yandex-team.ru> | 2022-02-10 16:51:38 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:51:38 +0300 |
commit | 569c3cefb9e9785ef25d8a067c01ea66ffa8deef (patch) | |
tree | ab7fbbf3253d4c0e2793218f09378908beb025fb /build/scripts/link_fat_obj.py | |
parent | e9d6dd2e511aaaec9e6182b7ae9327dce82a051d (diff) | |
download | ydb-569c3cefb9e9785ef25d8a067c01ea66ffa8deef.tar.gz |
Restoring authorship annotation for <tekireeva@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/scripts/link_fat_obj.py')
-rw-r--r-- | build/scripts/link_fat_obj.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build/scripts/link_fat_obj.py b/build/scripts/link_fat_obj.py index 3208362898..c189668b9e 100644 --- a/build/scripts/link_fat_obj.py +++ b/build/scripts/link_fat_obj.py @@ -2,8 +2,8 @@ import argparse import subprocess import sys -from process_whole_archive_option import ProcessWholeArchiveOption - +from process_whole_archive_option import ProcessWholeArchiveOption + YA_ARG_PREFIX = '-Ya,' @@ -36,7 +36,7 @@ def get_args(): def strip_suppression_files(srcs): - return [s for s in srcs if not s.endswith('.supp')] + return [s for s in srcs if not s.endswith('.supp')] def main(): @@ -52,14 +52,14 @@ def main(): # Dependencies global_srcs = groups['global_srcs'] global_srcs = strip_suppression_files(global_srcs) - global_srcs = ProcessWholeArchiveOption(args.arch).construct_cmd(global_srcs) + global_srcs = ProcessWholeArchiveOption(args.arch).construct_cmd(global_srcs) peers = groups['peers'] # Tools linker = groups['linker'] archiver = groups['archiver'] - do_link = linker + ['-o', obj_output, '-Wl,-r', '-nodefaultlibs', '-nostartfiles'] + global_srcs + auto_input + do_link = linker + ['-o', obj_output, '-Wl,-r', '-nodefaultlibs', '-nostartfiles'] + global_srcs + auto_input do_archive = archiver + [lib_output] + peers do_globals = None if args.globals_lib: |