diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /build/platform/lld/ya.make | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'build/platform/lld/ya.make')
-rw-r--r-- | build/platform/lld/ya.make | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/build/platform/lld/ya.make b/build/platform/lld/ya.make index c046e89098..53565ac969 100644 --- a/build/platform/lld/ya.make +++ b/build/platform/lld/ya.make @@ -6,29 +6,29 @@ OWNER(somov) IF (USE_LTO OR USE_THINLTO) IF (CLANG7 OR CLANG8) - # Use LLD 8 for old Clang because its IR code fails LLD 11 validation. - ENABLE(USE_LLD8) + # Use LLD 8 for old Clang because its IR code fails LLD 11 validation. + ENABLE(USE_LLD8) ELSEIF (CLANG11) # DEVTOOLSSUPPORT-9065 ENABLE(USE_LLD11) - ENDIF() -ENDIF() - + ENDIF() +ENDIF() + IF (OS_ANDROID) - # Use LLD shipped with Android NDK. + # Use LLD shipped with Android NDK. LDFLAGS("-fuse-ld=lld") -ELSEIF (USE_LLD8) - IF (HOST_OS_LINUX) - IF (HOST_ARCH_PPC64LE) - DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1610790447) - ELSE() - DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1063258680) - ENDIF() - ELSEIF (HOST_OS_DARWIN) - DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1063258537) - ENDIF() - - LDFLAGS("-fuse-ld=$LLD_ROOT_RESOURCE_GLOBAL/ld") +ELSEIF (USE_LLD8) + IF (HOST_OS_LINUX) + IF (HOST_ARCH_PPC64LE) + DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1610790447) + ELSE() + DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1063258680) + ENDIF() + ELSEIF (HOST_OS_DARWIN) + DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1063258537) + ENDIF() + + LDFLAGS("-fuse-ld=$LLD_ROOT_RESOURCE_GLOBAL/ld") ELSEIF (USE_LLD11) IF (HOST_OS_LINUX) IF (HOST_ARCH_PPC64LE) @@ -56,7 +56,7 @@ ELSE() ENDIF() ENDIF() - LDFLAGS("-fuse-ld=$LLD_ROOT_RESOURCE_GLOBAL/ld" "-Wl,--no-rosegment") -ENDIF() + LDFLAGS("-fuse-ld=$LLD_ROOT_RESOURCE_GLOBAL/ld" "-Wl,--no-rosegment") +ENDIF() END() |