]> code.ossystems Code Review - openembedded-core.git/commit
nfs-utils: build tools with target compiler
authorPascal Bach <pascal.bach@siemens.com>
Thu, 14 Feb 2019 16:15:29 +0000 (17:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 16 Feb 2019 08:19:29 +0000 (08:19 +0000)
commitea98fd17ae38efca13ce97c2e0eaacb8cfde597d
tree209a5927b93afe3fdf50720744dbecd7c5341902
parentf47410899eb97cfd7db428f45b7ba354c609b4d5
nfs-utils: build tools with target compiler

Some tools were built with CC_FOR_BUILD which points to the target
compiler. The current patch avoided issues by deleting some of the
binaries during install.

This patch replaces the CC_FOR_BUILD with CC so the tools are built with
the target compiler. This means the binaries no longer need to be
deleted.

I stumbled upon this by trying to globally add "--ffile-prefix-map", which
is not supported by my host GCC, to get rid of some "buildpaths" QA Warnings.

Cc: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/nfs-utils/nfs-utils/0001-Don-t-build-tools-with-CC_FOR_BUILD.patch [new file with mode: 0644]
meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-Do-not-pass-CFLAGS-to-gcc-while-building.patch [deleted file]
meta/recipes-connectivity/nfs-utils/nfs-utils_2.3.3.bb