diff options
author | Dagg Stompler <daggs@gmx.com> | 2018-01-19 18:42:32 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2018-01-29 23:14:24 +0100 |
commit | ceec22f56994a7d7a370a3807cc4a8f07b3749da (patch) | |
tree | e286bec8a7bad362e231bf8c36dd6f5b46591a41 /support/scripts/pycompile.py | |
parent | 6cf05930ca96f9396ebf8d4878d237138f9d38ee (diff) | |
download | buildroot-ceec22f56994a7d7a370a3807cc4a8f07b3749da.tar.gz buildroot-ceec22f56994a7d7a370a3807cc4a8f07b3749da.zip |
kodi-texturepacker: fix compilation error with host gcc 7.x
When host-kodi-texturepacker is built on a machine using gcc 7.x, it
fails to build with:
/usr/include/stdlib.h:443:14: error: declaration of ‘void* reallocarray(void*, size_t, size_t) throw ()’ has a different exception specifier
extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
This commit backports the upstream fix for this problem.
The issue could be reproduced with the following defconfig (and a gcc
7.x host compiler):
BR2_x86_64=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_KODI=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_PYTHON=y
BR2_PACKAGE_PYTHON_PY_PYC=y
Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support/scripts/pycompile.py')
0 files changed, 0 insertions, 0 deletions