mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 21:32:13 +02:00
bitbake: use GCC ar and ranlib wrappers
Instead of calling 'ar' and 'ranlib' directly, set AR=gcc-ar and RANLIB=gcc-ranlib. This fixes builds with link-time optimisation where more arguments would need to be passed to ranlib but gcc-ranlib will do that automatically. (From OE-Core rev: d9f37a25adba8d6638abbe7bc0503b09f696c2fc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2fcbc079e2
commit
af96521f8c
@@ -515,9 +515,9 @@ export FC = "${CCACHE}${HOST_PREFIX}gfortran ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}
|
||||
export CPP = "${HOST_PREFIX}gcc -E${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}"
|
||||
export LD = "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}"
|
||||
export CCLD = "${CC}"
|
||||
export AR = "${HOST_PREFIX}ar"
|
||||
export AR = "${HOST_PREFIX}gcc-ar"
|
||||
export AS = "${HOST_PREFIX}as ${HOST_AS_ARCH}"
|
||||
export RANLIB = "${HOST_PREFIX}ranlib"
|
||||
export RANLIB = "${HOST_PREFIX}gcc-ranlib"
|
||||
export STRIP = "${HOST_PREFIX}strip"
|
||||
export OBJCOPY = "${HOST_PREFIX}objcopy"
|
||||
export OBJDUMP = "${HOST_PREFIX}objdump"
|
||||
|
||||
Reference in New Issue
Block a user