diff options
| author | mark.yang <mark.yang@lge.com> | 2026-02-11 10:58:47 +0900 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-10 20:55:33 -0800 |
| commit | 613362523f3bf85ff4862e2f1f00113b8d2028be (patch) | |
| tree | 22749299b163d82de26fd9f43c0cd7ddfe55ac38 /classes/cmake-native.bbclass | |
| parent | 5c602337ea1a80fb7217eeda04e396cf90587dca (diff) | |
| download | meta-clang-613362523f3bf85ff4862e2f1f00113b8d2028be.tar.gz | |
clang.bbclass: Allow overriding LTO:toolchain-clang
Currently, LTO:toolchain-clang is defined using the immediate assignment
operator (=). This forces the variable to the default value defined in
the class, preventing users from overriding LTO flags for the clang
toolchain via distro configuration or local.conf.
Change the assignment to use the conditional assignment operator (?=).
This ensures that if LTO:toolchain-clang is already set (e.g., in a
distro include file), the custom value is preserved and not overwritten
by the default.
Signed-off-by: mark.yang <mark.yang@lge.com>
Diffstat (limited to 'classes/cmake-native.bbclass')
0 files changed, 0 insertions, 0 deletions
