package/lirc-tools: fix python build
Fix the following build failure raised since bump to version 0.10.2 in commit 58cc3977e83487bdaa1df232cf7adf6383d49cd7: In file included from /home/thomas/autobuild/instance-3/output-1/per-package/lirc-tools/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/python3.11/Python.h:38, from lirc/_client.c:1: /home/thomas/autobuild/instance-3/output-1/per-package/lirc-tools/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/python3.11/pyport.h:601:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 601 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/85359d3f678b49e46821a1c10da5f14edfb5e6d0 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>2023.02.x
parent
7e608885a2
commit
6ec2a9d438
|
@ -48,7 +48,9 @@ endif
|
|||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||
LIRC_TOOLS_DEPENDENCIES += python3 host-python-setuptools
|
||||
LIRC_TOOLS_MAKE_ENV += SETUPTOOLS_ENV='$(PKG_PYTHON_SETUPTOOLS_ENV)'
|
||||
LIRC_TOOLS_MAKE_ENV += \
|
||||
CC="$(TARGET_CC)" \
|
||||
SETUPTOOLS_ENV='$(PKG_PYTHON_SETUPTOOLS_ENV)'
|
||||
endif
|
||||
|
||||
define LIRC_TOOLS_INSTALL_INIT_SYSV
|
||||
|
|
Loading…
Reference in New Issue