diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2014-11-06 00:33:38 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-09 10:17:04 +0000 |
commit | 82ac2a29126dc38d23c278b82d129d73b17000b7 (patch) | |
tree | dbaa710d9b74be1d0b508fc79e42fc5faf99f31d /scripts/lib/wic/imager/baseimager.py | |
parent | 40dd71a4e0beade84ecd686559243a10e55c3a2d (diff) | |
download | openembedded-core-82ac2a29126dc38d23c278b82d129d73b17000b7.tar.gz openembedded-core-82ac2a29126dc38d23c278b82d129d73b17000b7.tar.bz2 openembedded-core-82ac2a29126dc38d23c278b82d129d73b17000b7.zip |
perl: set the perl libraries search path
The default value for this is ../../lib which ends up with
something like:
| ./sysroots/x86_64-linux/usr/bin/perl-native/perl5.20.0.real \
| "-I../../lib" "-I../../lib" "-MExtUtils::Command::MM" -e pod2man \
| "--" --section=0 --perm_rw=644 perldoc.pod blib/man1/perldoc.1
in this case, nativeperl will find libraries from the target build,
When using an x86-64 host to target Haswell, you can end up with
../../lib including precompiled modules which use Haswell
instructions, it fails with:
| Running pm_to_blib for dist/if directly
| Skip ../../lib/if.pm (unchanged)
| Makefile:457: recipe for target 'manifypods' failed
| make[1]: *** [manifypods] Illegal instruction
So set it to use the -native ones instead of those from the target
build.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/wic/imager/baseimager.py')
0 files changed, 0 insertions, 0 deletions