diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-02-26 18:42:48 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-02-26 22:40:01 +0100 |
commit | fc4250119582043bf57a6296ae0264aa95f97fac (patch) | |
tree | f27ce4ad2ec287462fdaff70b760dc27c7aab0c9 /package/moarvm/Config.in | |
parent | 85b852a969c87ccae423ffe2bf250d836aa7832c (diff) | |
download | buildroot-fc4250119582043bf57a6296ae0264aa95f97fac.tar.gz buildroot-fc4250119582043bf57a6296ae0264aa95f97fac.zip |
pkg-cmake: pass <pkg>_CONF_ENV for the target configure step
The Buildroot manual documents that <pkg>_CONF_ENV is passed in the
environment when calling cmake during the configure step. However, the
actual implementation in pkg-cmake passes HOST_<pkg>_CONF_ENV when
configuring the host variant of a cmake package, but does not pass
<pkg>_CONF_ENV when configuring the target variant of a cmake package.
This commit fixes that by passing <pkg>_CONF_ENV in the environment as
expected. It should not cause any behavior change, because this
feature is in fact not used by any package in upstream Buildroot:
$ grep CONF_ENV $(git grep -l cmake-package package/)
package/pkg-cmake.mk:$(2)_CONF_ENV ?=
package/pkg-cmake.mk: $$($$(PKG)_CONF_ENV) $$(BR2_CMAKE) $$($$(PKG)_SRCDIR) \
package/pkg-cmake.mk: $$($$(PKG)_CONF_ENV) $$(BR2_CMAKE) $$($$(PKG)_SRCDIR) \
This issue was reported by Olivier <ovalentin@awox.com> as bug #9616.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/moarvm/Config.in')
0 files changed, 0 insertions, 0 deletions