public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Overriding of linker in ed2 build system
@ 2020-10-20 18:44 Prabin CA
  2020-10-21 14:05 ` [edk2-devel] " Andrew Fish
  0 siblings, 1 reply; 6+ messages in thread
From: Prabin CA @ 2020-10-20 18:44 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 497 bytes --]

Hi All,
I'm trying to build edk2 source code using clang, I see that linker used by edk2 build system is dependent on "-target <triplet>" defined in "BaseTools/Conf/tools_def.template".
I wish to use llvm provided linker, I had tried appending  "-fuse-ld=lld" option to  "_CLANG38_AARCH64_DLINK_FLAGS" . But I still see the target specific linker being used by edk2 build system.
Any advice what could be the right way of overriding with llvm based ld.

Thanks and Best Regards
Prabin CA

[-- Attachment #2: Type: text/html, Size: 573 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-10-30  2:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-20 18:44 Overriding of linker in ed2 build system Prabin CA
2020-10-21 14:05 ` [edk2-devel] " Andrew Fish
2020-10-21 14:39   ` Prabin CA
2020-10-21 15:39     ` Andrew Fish
2020-10-28  9:35       ` Prabin CA
2020-10-30  2:04         ` 回复: " gaoliming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox