[Buildroot] [PATCH] package/pkg-python: use _CONFIGURE_OPTS for build env

Peter Korsgaard peter at korsgaard.com
Sat Dec 7 13:07:41 UTC 2019


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > On Thu,  5 Dec 2019 17:11:02 -0600
 > Ryan Barnett <ryan.barnett at rockwellcollins.com> wrote:

 >> When building host or target python packages, we need to ensure that
 >> the build environment utilize {HOST|TARGET}_CONFIGURE_OPTS. This
 >> ensures that the correct linker and compiler environment variables are
 >> set to compile utilizing either the host or target folders.
 >> 
 >> It was discovered that when compiling a host-python package, it was
 >> using linking against the build machines library folder instead of the
 >> host folder because LDFLAGS was not properly set and was improperly
 >> detecting whether or not a shared or static library was present in the
 >> host folder.
 >> 
 >> CC: Arnout Vandecappelle <arnout at mind.be>
 >> Signed-off-by: Ryan Barnett <ryan.barnett at rockwellcollins.com>
 >> 
 >> ---
 >> Changes v1 -> v2:
 >> - Merged HOST/TARGET_CONFIGURE_OPTS to single commit (suggested by
 >> Arnout)
 >> - Added HOST/TARGET_CONFIGURE_OPTS to env for setuptools (suggested
 >> by Arnout)
 >> ---
 >> package/pkg-python.mk | 11 ++++++-----
 >> 1 file changed, 6 insertions(+), 5 deletions(-)

 > Applied to master, thanks.

Hmm, this seems to confuse lirc-tools:

http://autobuild.buildroot.net/results/f7a/f7a9c02add9bde563c7289f7c0be2cb7aefd96b8/build-end.log

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list