aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/link_fat_obj.py
diff options
context:
space:
mode:
authortekireeva <tekireeva@yandex-team.com>2023-06-15 06:12:06 +0300
committertekireeva <tekireeva@yandex-team.com>2023-06-15 06:12:06 +0300
commit157df07dbf6cbf6c4c82cc35e1f1ce7e2049f126 (patch)
tree51d0d7689078fc0eb366475bbc85044a67a2ecdd /build/scripts/link_fat_obj.py
parent451935d7916867193e3e2a663b1f932beebfeda4 (diff)
downloadydb-157df07dbf6cbf6c4c82cc35e1f1ce7e2049f126.tar.gz
Add start-end markers of response file to link cmd
Diffstat (limited to 'build/scripts/link_fat_obj.py')
-rw-r--r--build/scripts/link_fat_obj.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/scripts/link_fat_obj.py b/build/scripts/link_fat_obj.py
index 45df247d10..7cda2f667d 100644
--- a/build/scripts/link_fat_obj.py
+++ b/build/scripts/link_fat_obj.py
@@ -2,6 +2,8 @@ import argparse
import subprocess
import sys
+import process_command_files as pcf
+
from process_whole_archive_option import ProcessWholeArchiveOption
YA_ARG_PREFIX = '-Ya,'
@@ -19,7 +21,7 @@ def get_args():
groups = {}
args_list = groups.setdefault('default', [])
- for arg in sys.argv[1:]:
+ for arg in pcf.iter_args(sys.argv[1:]):
if arg == '--with-own-obj':
groups['default'].append(arg)
elif arg == '--globals-lib':