diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-06-13 02:28:28 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-14 12:44:37 +0100 |
commit | 8d3397b2f15280cfd3bc8c221cf21397a9f747fa (patch) | |
tree | 848efe45cd0b83df64bd6521838a94e31969778c /meta/recipes-devtools/python/python_2.7.3.bb | |
parent | f6189cdd58bc15b7646bb0d6fcb4cd72acf769d3 (diff) | |
download | poky-8d3397b2f15280cfd3bc8c221cf21397a9f747fa.tar.gz |
python: -Wformat is needed by gcc 4.8
This fixes errors in packages using python( build with gcc 4.8)
|
/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/python2.7/modsupport.h:27:1:
error: 'PyArg_ParseTuple' is an unrecognized format function type
[-Werror=format=]
| PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...)
Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
| ^
| cc1: all warnings being treated as errors
| cc1: all warnings being treated as errors
(From OE-Core rev: 5745a482a85c064a1eec960aff104cf8ce588e30)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.3.bb')
-rw-r--r-- | meta/recipes-devtools/python/python_2.7.3.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb index f76f2185fe..5150e524ae 100644 --- a/meta/recipes-devtools/python/python_2.7.3.bb +++ b/meta/recipes-devtools/python/python_2.7.3.bb | |||
@@ -27,6 +27,7 @@ SRC_URI += "\ | |||
27 | file://python-2.7.3-remove-bsdb-rpath.patch \ | 27 | file://python-2.7.3-remove-bsdb-rpath.patch \ |
28 | file://builddir.patch \ | 28 | file://builddir.patch \ |
29 | file://python-2.7.3-CVE-2012-2135.patch \ | 29 | file://python-2.7.3-CVE-2012-2135.patch \ |
30 | file://gcc-4.8-fix-configure-Wformat.patch \ | ||
30 | " | 31 | " |
31 | 32 | ||
32 | S = "${WORKDIR}/Python-${PV}" | 33 | S = "${WORKDIR}/Python-${PV}" |