diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
commit | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch) | |
tree | 012bb94d777798f1f56ac1cec429509766d05181 /build/platform/lld/ya.make | |
parent | 6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff) | |
download | ydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'build/platform/lld/ya.make')
-rw-r--r-- | build/platform/lld/ya.make | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/build/platform/lld/ya.make b/build/platform/lld/ya.make index c046e89098..808357eae9 100644 --- a/build/platform/lld/ya.make +++ b/build/platform/lld/ya.make @@ -4,13 +4,13 @@ LICENSE(Service-Prebuilt-Tool) OWNER(somov) -IF (USE_LTO OR USE_THINLTO) - IF (CLANG7 OR CLANG8) +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) - ELSEIF (CLANG11) - # DEVTOOLSSUPPORT-9065 - ENABLE(USE_LLD11) + ELSEIF (CLANG11) + # DEVTOOLSSUPPORT-9065 + ENABLE(USE_LLD11) ENDIF() ENDIF() @@ -29,31 +29,31 @@ ELSEIF (USE_LLD8) ENDIF() LDFLAGS("-fuse-ld=$LLD_ROOT_RESOURCE_GLOBAL/ld") -ELSEIF (USE_LLD11) - IF (HOST_OS_LINUX) - IF (HOST_ARCH_PPC64LE) - DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1843381106) - ELSE() - DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1843327433) - ENDIF() - ELSEIF (HOST_OS_DARWIN) - DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1843327928) - ENDIF() - - LDFLAGS("-fuse-ld=$LLD_ROOT_RESOURCE_GLOBAL/ld" "-Wl,--no-rosegment") +ELSEIF (USE_LLD11) + IF (HOST_OS_LINUX) + IF (HOST_ARCH_PPC64LE) + DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1843381106) + ELSE() + DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1843327433) + ENDIF() + ELSEIF (HOST_OS_DARWIN) + DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1843327928) + ENDIF() + + LDFLAGS("-fuse-ld=$LLD_ROOT_RESOURCE_GLOBAL/ld" "-Wl,--no-rosegment") ELSE() IF (HOST_OS_LINUX) IF (HOST_ARCH_PPC64LE) - DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:2283417120) + DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:2283417120) ELSE() - DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:2283360772) + DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:2283360772) ENDIF() ELSEIF (HOST_OS_DARWIN) - IF (HOST_ARCH_ARM64) - DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:2283439721) - ELSE() - DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:2283429958) - ENDIF() + IF (HOST_ARCH_ARM64) + DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:2283439721) + ELSE() + DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:2283429958) + ENDIF() ENDIF() LDFLAGS("-fuse-ld=$LLD_ROOT_RESOURCE_GLOBAL/ld" "-Wl,--no-rosegment") |