Home
last modified time | relevance | path

Searched hist:"5 ecae95170dc730e187bcc34130b2c26e18fb915" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/make_helpers/
H A Dcflags.mk5ecae95170dc730e187bcc34130b2c26e18fb915 Mon Nov 10 08:09:35 UTC 2025 Dmitrii Sharshakov <d3dx12.xx@gmail.com> fix(build): set linker to lld before evaluating ld_option

This ensures ld_option is called with valid -fuse-ld option, therefore
filtering options against ones supported by lld and not the
system default linker Clang chooses without the option specified.

This change should not affect toolchains other than llvm-clang, since it
only moves a conditional concerning the said toolchain.

Resolves the following linking error that manifests itself when using
Clang versions 21 and higher for building TF-A:

> ld.lld: error: unknown argument '--no-warn-rwx-segments'

Change-Id: I466f733377327a7c38ee27899be6681debf61e11
Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>