mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-06-21 08:52:27 +02:00
tcmode-external: add -B to TARGET_CC_ARCH, not TUNE_CCARGS
TUNE_CCARGS, while most appropriate, has a `vardepvalue` set which causes its fully expanded version to end up in checksums, not the unexpanded version, which causes a problem if that value includes an absolute path. Place it in TARGET_CC_ARCH instead. JIRA: SIEJIR-6415 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
@@ -106,7 +106,7 @@ TUNE_LDARGS += "${@'-m ${LDEMULATION}' if '${LDEMULATION}' else ''}"
|
||||
# Additional search path for compiler component programs, to let us rebuild
|
||||
# binutils if necessary.
|
||||
gcc_bindir = "${STAGING_BINDIR_TOOLCHAIN}/gcc"
|
||||
TUNE_CCARGS .= "${@' -B${gcc_bindir}' if d.getVar('PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils') != 'binutils-external-cross-${TARGET_ARCH}' else ''}"
|
||||
TARGET_CC_ARCH .= "${@' -B${gcc_bindir}' if d.getVar('PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils') != 'binutils-external-cross-${TARGET_ARCH}' else ''}"
|
||||
|
||||
# Align the external toolchain ldflags with the internal
|
||||
TARGET_LDFLAGS_BUILD_ID = "-Wl,--build-id=sha1"
|
||||
|
||||
Reference in New Issue
Block a user