diff options
author | svidyuk <svidyuk@yandex-team.com> | 2023-06-22 09:43:24 +0300 |
---|---|---|
committer | svidyuk <svidyuk@yandex-team.com> | 2023-06-22 09:43:24 +0300 |
commit | d845680738f3051ec12fac59188c70ee1a623a88 (patch) | |
tree | ed03d8cf73512e27d3ac93f2f0084c0fcedb4b84 | |
parent | 1b1d6eb18019d479b08ffa90e633d8f96440f43b (diff) | |
download | ydb-d845680738f3051ec12fac59188c70ee1a623a88.tar.gz |
proper linker flags for lld
-rw-r--r-- | build/conf/linkers/ld.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/conf/linkers/ld.conf b/build/conf/linkers/ld.conf index 1bf209a29a..c0fea5f0d3 100644 --- a/build/conf/linkers/ld.conf +++ b/build/conf/linkers/ld.conf @@ -55,7 +55,7 @@ _LD_ICF_FLAG_PRINT_SECTIONS= when ($_DEFAULT_LINKER_ID == "lld") { # Enable ICF (identical code folding pass) in safe mode # https://research.google/pubs/pub36912/ - _LD_ICF_FLAG=-Wl,-icf=safe + _LD_ICF_FLAG=-Wl,--icf=safe when ($LINKER_ICF_PRINT_SECTIONS == "yes") { _LD_ICF_FLAG_PRINT_SECTIONS=-Wl,--print-icf-sections _LD_LINKER_OUTPUT=$_LD_LINKER_OUTPUT_FLAG |