diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /build/platform/lld/ya.make | |
parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) | |
download | ydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 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 53565ac969..c046e89098 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() |