summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-05-28 02:22:24 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-30 22:26:13 +0100
commit63a409ae683236591f19e3c553e11c35aff84128 (patch)
tree905f3ca61b6335fb99fc32563950cb43a2e167ac /meta/recipes-devtools
parent511865f189efc404df1b245c7eddeca2229ebdbf (diff)
downloadpoky-63a409ae683236591f19e3c553e11c35aff84128.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/python/python3_3.4.3.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.4.3.bb b/meta/recipes-devtools/python/python3_3.4.3.bb
index bee9e6f8ec..5ef17e6399 100644
--- a/meta/recipes-devtools/python/python3_3.4.3.bb
+++ b/meta/recipes-devtools/python/python3_3.4.3.bb
@@ -67,6 +67,7 @@ EXTRA_OECONF += "CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}
67export CROSS_COMPILE = "${TARGET_PREFIX}" 67export CROSS_COMPILE = "${TARGET_PREFIX}"
68export _PYTHON_PROJECT_BASE = "${B}" 68export _PYTHON_PROJECT_BASE = "${B}"
69export _PYTHON_PROJECT_SRC = "${S}" 69export _PYTHON_PROJECT_SRC = "${S}"
70export CCSHARED = "-fPIC"
70 71
71# No ctypes option for python 3 72# No ctypes option for python 3
72PYTHONLSBOPTS = "" 73PYTHONLSBOPTS = ""