diff options
author | pg <pg@yandex-team.com> | 2023-08-31 18:22:22 +0300 |
---|---|---|
committer | pg <pg@yandex-team.com> | 2023-08-31 18:49:34 +0300 |
commit | 07fb3c3c0211393d9d8210ba3d650c299f09e3cc (patch) | |
tree | bf20cb91a1e0fd3a9a3ccf30e8fc8629283e9be2 /build/scripts/link_fat_obj.py | |
parent | 240aa8cdefbccdf95823e3ace1aa47786f373a1b (diff) | |
download | ydb-07fb3c3c0211393d9d8210ba3d650c299f09e3cc.tar.gz |
Diffstat (limited to 'build/scripts/link_fat_obj.py')
-rw-r--r-- | build/scripts/link_fat_obj.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/scripts/link_fat_obj.py b/build/scripts/link_fat_obj.py index 7cda2f667d..73aa9a1727 100644 --- a/build/scripts/link_fat_obj.py +++ b/build/scripts/link_fat_obj.py @@ -67,7 +67,7 @@ def main(): 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', '-Wl,-no-pie'] + global_srcs + auto_input do_archive = archiver + [lib_output] + peers do_globals = None if args.globals_lib: |