mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-10 18:05:28 +02:00
tcmode: define LDEMULATION_x86-64
Work around failure in 'perf' due to use of ld rather than gcc to link. JIRA: SB-6527 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
@@ -124,6 +124,7 @@ LDEMULATION = ""
|
||||
LDEMULATION_ENDIAN = "${@'bt' if 'bigendian' in '${TUNE_FEATURES}'.split() else 'lt'}"
|
||||
LDEMULATION_BITS = "${@'64' if 'n64' in '${TUNE_FEATURES}'.split() else '32'}"
|
||||
LDEMULATION_mips64 = "elf${LDEMULATION_BITS}${LDEMULATION_ENDIAN}smip${@bb.utils.contains('TUNE_FEATURES', 'n32', 'n32', '', d)}"
|
||||
LDEMULATION_x86-64 = "elf_${TARGET_ARCH}"
|
||||
TUNE_LDARGS += "${@'-m ${LDEMULATION}' if '${LDEMULATION}' else ''}"
|
||||
|
||||
# Ensure that the licensing variables are available to the toolchain.
|
||||
|
||||
Reference in New Issue
Block a user