mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
Fixes build error with gcc 9.x: output/build/libheif-1.21.1/libheif/nclx.h:128:50: error: 'bool nclx_profile::operator==(const nclx_profile&) const' cannot be defaulted using this defconfig: BR2_arm=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-static-2020.11.2.tar.bz2" BR2_TOOLCHAIN_EXTERNAL_GCC_9=y BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4=y BR2_TOOLCHAIN_EXTERNAL_LOCALE=y # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set BR2_TOOLCHAIN_EXTERNAL_CXX=y BR2_STATIC_LIBS=y BR2_PACKAGE_LIBHEIF=y According to https://github.com/strukturag/libheif/issues/1615#issuecomment-3457979167 gcc >= 10 with support for C++20 is needed for the package. The failing code was introduced upstream in version 0.21.0 with commita62f933e38which was added to buildroot with commita8aed698c7. Also removed -std=c++11 from CXXFLAGS. The build error was not yet recorded by the autobuilders. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
19 lines
725 B
Plaintext
19 lines
725 B
Plaintext
config BR2_PACKAGE_KODI_IMAGEDECODER_HEIF
|
|
bool "kodi-imagedecoder-heif"
|
|
depends on BR2_INSTALL_LIBSTDCPP # libde265, libheif, tinyxml2
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libde265, libheif
|
|
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_30730 # libheif
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # libheif
|
|
select BR2_PACKAGE_LIBDE265
|
|
select BR2_PACKAGE_LIBHEIF
|
|
select BR2_PACKAGE_TINYXML2
|
|
help
|
|
HEIF image decoder add-on for Kodi
|
|
|
|
https://github.com/xbmc/imagedecoder.heif
|
|
|
|
comment "kodi-imagedecoder-heif needs a toolchain w/ C++, threads, gcc >= 10"
|
|
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_30730 # libheif
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_10
|