Re: [PATCH] arm/trusted-firmware-a: don't set LD if LTO is enabled

Jon Mason <[email protected]> Wed, 27 May 2026 09:58:25 -0400
Newsgroups org.yoctoproject.lists.meta-arm
Message-ID <[email protected]>
On Sun, 24 May 2026 12:39:28 +0200, Gyorgy Sarvari wrote:
> Some platforms (like Allwinner A64/sun50i_a64) have LTO enabled
> in the Makefiles, which causes a linking error when using ld:
> 
> | [...]/aarch64-oe-linux/aarch64-oe-linux-ld: -f may not be used without -shared
> 
> Add an option to be able to indicate in the recipe if the plaform has LTO enabled,
> and only pass LD to make in case LTO is disabled, otherwise let it use $CC (as set by the Makefile).
> 
> [...]

Applied, thanks!

[1/1] arm/trusted-firmware-a: don't set LD if LTO is enabled
      commit: 3c07303388bf1fa286bbb6f5b5b6189635787103

Best regards,
-- 
Jon Mason <[email protected]>