diff options
author | Ross Burton <ross.burton@intel.com> | 2019-02-11 11:04:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-14 11:20:55 +0000 |
commit | af96521f8c3d494ed6f91accdf9b9217ea9ef1f8 (patch) | |
tree | 4e9f4eb1e092acfdf3c0c7d8801ab595a8930714 /meta/conf/bitbake.conf | |
parent | 2fcbc079e2792030606117e21f4e70e111d4fd1a (diff) | |
download | poky-af96521f8c3d494ed6f91accdf9b9217ea9ef1f8.tar.gz |
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>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 9452d5ac4f..21fd93e58d 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -515,9 +515,9 @@ export FC = "${CCACHE}${HOST_PREFIX}gfortran ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} | |||
515 | export CPP = "${HOST_PREFIX}gcc -E${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}" | 515 | export CPP = "${HOST_PREFIX}gcc -E${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}" |
516 | export LD = "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}" | 516 | export LD = "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}" |
517 | export CCLD = "${CC}" | 517 | export CCLD = "${CC}" |
518 | export AR = "${HOST_PREFIX}ar" | 518 | export AR = "${HOST_PREFIX}gcc-ar" |
519 | export AS = "${HOST_PREFIX}as ${HOST_AS_ARCH}" | 519 | export AS = "${HOST_PREFIX}as ${HOST_AS_ARCH}" |
520 | export RANLIB = "${HOST_PREFIX}ranlib" | 520 | export RANLIB = "${HOST_PREFIX}gcc-ranlib" |
521 | export STRIP = "${HOST_PREFIX}strip" | 521 | export STRIP = "${HOST_PREFIX}strip" |
522 | export OBJCOPY = "${HOST_PREFIX}objcopy" | 522 | export OBJCOPY = "${HOST_PREFIX}objcopy" |
523 | export OBJDUMP = "${HOST_PREFIX}objdump" | 523 | export OBJDUMP = "${HOST_PREFIX}objdump" |