]> code.ossystems Code Review - openembedded-core.git/commit
python3: fix build for shared object
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 28 May 2015 09:22:24 +0000 (02:22 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Jun 2015 08:41:57 +0000 (09:41 +0100)
commitd9c3d3036da6f36d1f494987aa854d0c76968a27
tree541e4ecabbec3b79a73b2ecb6c6665cb2c60596b
parentf5e18f8dbac54231441b8b6260bf608edc377f66
python3: fix build for shared object

Fixed when build on armv7a_vfp_neon:
Python-3.3.3/Modules/_struct.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC

All the archs should use -fPIC when build shared object for linux.

(From OE-Core rev: 60c1f76f65060cbea458b06f9719a2536f50474e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3_3.3.3.bb