summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>2015-11-24 16:43:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-01 21:32:06 +0000
commit7a2bb0da898d23ddbd805bc234cc223a42b14ffe (patch)
tree28c9df641439d25d19ebebea5c9c9f9173b0b3da /meta
parent2268a702f1d5528a8a1f5af19b099d25b486dec3 (diff)
downloadpoky-7a2bb0da898d23ddbd805bc234cc223a42b14ffe.tar.gz
python3: fix building nativesdk-python3
When the class nativesdk.bbclass is inherited, it redefines TARGET_CC_ARCH, in the case of python3, this enables debug, causing an error while linking, since we dont enable debug during configure theres no declaration of some functions, this patch makes sure we keep debug disabled, fixing the linking errors. [YOCTO #8467] (From OE-Core rev: d4723c609f700180ee808ac3fbbe2225043a8353) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/python/python3_3.5.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.5.0.bb b/meta/recipes-devtools/python/python3_3.5.0.bb
index d0872be2b6..2475dba1fc 100644
--- a/meta/recipes-devtools/python/python3_3.5.0.bb
+++ b/meta/recipes-devtools/python/python3_3.5.0.bb
@@ -58,6 +58,7 @@ CACHED_CONFIGUREVARS = "ac_cv_have_chflags=no \
58" 58"
59 59
60TARGET_CC_ARCH += "-DNDEBUG -fno-inline" 60TARGET_CC_ARCH += "-DNDEBUG -fno-inline"
61SDK_CC_ARCH += "-DNDEBUG -fno-inline"
61EXTRA_OEMAKE += "CROSS_COMPILE=yes" 62EXTRA_OEMAKE += "CROSS_COMPILE=yes"
62EXTRA_OECONF += "CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/ --without-ensurepip" 63EXTRA_OECONF += "CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/ --without-ensurepip"
63 64